This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
animation [2017/08/02 12:40] – justin | animation [2020/04/23 10:29] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | **Animations** in RPG in a Box are created in the [[Voxel Editor]] using a frame-by-frame method, similar to the way you'd create a stop motion animation out of LEGO bricks or a clay figure. | + | **Animations** in RPG in a Box are created in the [[Voxel Editor]] using a frame-by-frame method, similar to the way you'd create a stop motion animation out of LEGO bricks or a flip book by drawing a sequence of images on a stack of paper. When an animation is played, only one frame is displayed at a time, giving the illusion of movement. |
+ | |||
+ | {{: | ||
+ | |||
+ | There are several settings that can adjusted for an animation, each of which will affect its behavior when played. These are configured when defining a new animation for a model from the [[Voxel Editor]] animation toolbar or from the [[Model Properties]] panel for an existing animation. Each setting is described briefly in the table below. | ||
+ | |||
+ | {{: | ||
^Setting^Description^ | ^Setting^Description^ | ||
- | |Name| | | + | |Name|Name of the animation. This name is case-sensitive and can be referenced by scripting functions (for example, the [[Play Animation]] function), and is also used to configure a [[predefined_animation_names|predefined animation]] like " |
|Start Frame|Frame at which the animation will begin. If the animation has a type of " | |Start Frame|Frame at which the animation will begin. If the animation has a type of " | ||
|End Frame|Frame at which the the animation will either stop (for example, with a type of " | |End Frame|Frame at which the the animation will either stop (for example, with a type of " | ||
+ | |Randomize Start|When enabled, the animation will begin on a random frame between the start frame and the end frame. This is useful for when you want multiple instances of the same [[object]] or [[tile]] to start their default animations at different times, for example to make a set of animated torches or water [[tile|tiles]] appear more natural and random.| | ||
|Type|Determines the looping behavior of the animation, for example if its played only once or loops forever. See [[Animation Types]] for an explanation of each supported type.| | |Type|Determines the looping behavior of the animation, for example if its played only once or loops forever. See [[Animation Types]] for an explanation of each supported type.| | ||
|Speed|Speed at which the animation will play. This value is measured in frames per second.| | |Speed|Speed at which the animation will play. This value is measured in frames per second.| | ||
+ | |Sound Effect|[[sound|Sound effect]] that will be played when the animation is first triggered, for example a door opening [[sound|sound effect]] for a door's " | ||
+ | |Duration|Informational field to display the animation' | ||
~~NOTOC~~ | ~~NOTOC~~ |