User Tools

Site Tools


predefined_animation_names

Predefined Animation Names


In RPG in a Box, some animation names are connected to certain behaviors and scenarios. For example, when a character moves from one tile to another, the game will automatically trigger the “walk” animation for that character (if it exists). If a character does not have an animation defined for a particular scenario then Frame 1 of the model will be displayed instead.

When defining a new animation from the “Add Animation” dialog, you can click the button with the magnifying glass to easily pick from a list of supported names. Refer to the tables below (divided by entity type) for explanations of when each of these predefined animations gets triggered.

Characters

NameDescription
idlePlays whenever the character is standing still and no other animations are active. The animation type for this would typically be “Loop” or “Ping Pong”.
walkPlays whenever the character is moving from one tile to another. The animation type for this would typically be “Loop” or “Ping Pong”.
interactPlays whenever the character interacts with an object.
attackPlays whenever the character executes an attack during combat. The animation type for this would typically be “Once” or “Ping Pong Once”.
deathPlays whenever the character is killed/destroyed during combat or other hazardous situations.

Tiles

NameDescription
defaultPlays as soon as the map is loaded. The animation type for this would typically be “Loop” or “Ping Pong” and is useful for liquid-based tiles like rivers and lava.

Objects

NameDescription
defaultPlays as soon as the map is loaded. The animation type for this would typically be “Loop” or “Ping Pong” and is useful for objects with continuous movement like campfires, windmills, etc.
predefined_animation_names.txt · Last modified: 2017/09/19 10:10 by justin