Frame Animated Tile Component

From wiki
Revision as of 04:56, 14 December 2017 by DeamonHunter (Talk | contribs) (Update Page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

"particles"

Valid options (String): A string containing the code to a Particle spawner.

Default Value: If not specified, will not play particles.


This is the particles that will play constantly along with the animation.