Difference between revisions of "Frame Animated Tile Component"
DeamonHunter (Talk | contribs) (Initial commit.) |
(No difference)
|
Revision as of 01:50, 20 July 2017
Category:Component Modding are all optional properties that can be added to any file. Components are useful in extending the original files with even more information, such as the cost of the item or whether the block can be broken by a weapon.
On this page, we go over the Frame Animated Tile component, signified by the following;
"frameAnimatedTile": { "frameTime" : 0.1 }
Frame Animated Tile components are used to defined how often a Frame Animated Tile will change it's look.
When and How to use
Frame Animated Tile component is needed whenever you want to make an Frame Animatedtile. Specifically, an Frame Animated Tile component is needed whenever a Tile has it Tile#"tileStateKind" equal to "staxel.tileState.FrameAnimated". Otherwise Frame Animated Tile component will do nothing.
This section will be elaborated later when Frame Animated Tiles are explained in more detail.
Config Options
All config options must be inside the body of;
"frameAnimatedTile": { =Content= }
"frameTime"
Valid options (Float): A positive decimal number
Default Value: No default value is specified. Always need to provide your own.
This is the time in seconds before the object will change it's look.