This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
predefined_animation_names [2017/07/14 13:40] – justin | predefined_animation_names [2022/06/02 01:43] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | 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 " | + | 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 " |
+ | |||
+ | When defining | ||
=====Characters===== | =====Characters===== | ||
^Name^Description^ | ^Name^Description^ | ||
- | |idle|Plays whenever the character is standing still and no other animations are active. The [[animation_types|animation type]] for this would typically be " | + | |idle|Plays whenever the [[character]] is standing still and no other [[animation|animations]] are active. The [[animation_types|animation type]] for this would typically be " |
- | |walk|Plays whenever the character is moving from one tile to another. The [[animation_types|animation type]] for this would typically be " | + | |walk|Plays whenever the [[character]] is moving from one [[tile]] to another. The [[animation_types|animation type]] for this would typically be " |
- | |attack|Plays whenever the character executes an attack during combat. The [[animation_types|animation type]] for this would typically be " | + | |interact|Plays whenever the [[character]] interacts with an [[object]].| |
- | |death|Plays whenever the character is killed/ | + | |attack|Plays whenever the [[character]] executes an attack during combat. The [[animation_types|animation type]] for this would typically be " |
+ | |spawn|Plays whenever the [[character]] is added to a [[map]] using the [[Add Character]] scripting function.| | ||
+ | |death|Plays whenever the [[character]] is killed/ | ||
+ | |revive|Plays whenever the [[character]] is revived using the [[Revive Character]] scripting function.| | ||
+ | |climb|Plays whenever the [[character]] is climbing a [[climbing|climbable tile]]. The first frame of the [[animation]] is displayed when initially grabbing onto the [[tile]].| | ||
+ | |push|Plays whenever the [[character]] is pushing an [[object]]. The first frame of the [[animation]] is displayed when initially grabbing the [[object]].| | ||
+ | |pull|Plays whenever the [[character]] is pulling an [[object]]. If a " | ||
+ | |walk_< | ||
=====Tiles===== | =====Tiles===== | ||
^Name^Description^ | ^Name^Description^ | ||
- | |default| | | + | |default|Plays as soon as the [[map]] is loaded. The [[animation_types|animation type]] for this would typically be " |
+ | |spawn|Plays whenever the [[tile]] is added to a [[map]] using the [[Add Tile]] scripting function.| | ||
=====Objects===== | =====Objects===== | ||
^Name^Description^ | ^Name^Description^ | ||
- | |default| | | + | |default|Plays as soon as the [[map]] is loaded. The [[animation_types|animation type]] for this would typically be " |
+ | |spawn|Plays whenever the [[object]] is added to a [[map]] using the [[Add Object]] scripting function.| | ||
+ | |move|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and is being moved by the player.| | ||
+ | |attack|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and the player attacks an enemy.| | ||
~~NOTOC~~ | ~~NOTOC~~ |