This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
move:general [2014/10/30 06:05] Justin H. |
move:general [2022/10/12 03:01] Mistermind |
||
---|---|---|---|
Line 3: | Line 3: | ||
{{ : | {{ : | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **Gameplay Type:** Set the move to be either for 2D or 3D gameplay. 3D gameplay allows you to access the z axis on certain options. | ||
**Move Name:** The move name. This is the main identifier for this move. | **Move Name:** The move name. This is the main identifier for this move. | ||
Line 12: | Line 16: | ||
==== Behavior ==== | ==== Behavior ==== | ||
- | **Ignore Gravity:** If this move is triggered in the air, should the character ignore the laws of physics for the duration of the move? | + | **Ignore Gravity:** If this move is triggered in the air, should the character ignore the laws of physics for the duration of the move. |
**Cancel Move When Landing:** If the move was executed in the air, should it automatically cancel into the landing animation once it hits the ground? Enable this for standard air moves.\\ | **Cancel Move When Landing:** If the move was executed in the air, should it automatically cancel into the landing animation once it hits the ground? Enable this for standard air moves.\\ | ||
Line 23: | Line 27: | ||
(if Auto-correct Rotation) **Frame Window:** From which frame this move will auto-correct rotation. | (if Auto-correct Rotation) **Frame Window:** From which frame this move will auto-correct rotation. | ||
+ | |||
+ | **Execution Cooldown:** Stops the move from being executed after being executed once. | ||
+ | |||
+ | (if Execution Cooldown) **Frames Cooldown:** How many frames ([[global: | ||
---- | ---- | ||
Code example: | Code example: | ||
- | <code c#>void OnHit(HitBox strokeHitBox, | + | <code c#>void OnHit(HitBox strokeHitBox, |
if (move.attackType == AttackType.EX) Debug.Log(" | if (move.attackType == AttackType.EX) Debug.Log(" | ||
}</ | }</ |