Dodge
Rolls quickly away in the stick's direction. In combat it is how the player gets out of harm's way.
A quick roll in the direction of the stick, or a backstep when it is released. In combat it is how a character gets out of the way; here it moves the character a set distance in a set time.
DodgeHow it works
An action of Walking. Starts from any state, on: Dodge. Committed until it recovers. Ends after its recovery, or off an edge, then the Walking mode.
Dodge: press Dodge on the ground to roll a set distance in the stick's direction, as in melee action role-playing games: fast for moveTime, then a short recoveryTime that slows to a stop. The body turns to the roll at once (locked on, it keeps facing the target). With the stick let go it is a backstep: a shorter hop backwards, still facing forward. A dodge cannot be cancelled or steered; running off an edge ends it in a fall. A Dodge pressed up to bufferTime early still counts, so presses during a dodge's recovery chain the next one.
With a Stamina module each dodge costs staminaCost and needs some stamina left. No invulnerability: that is a combat rule, not movement. Numbers from the action RPG measurements (D56; a medium roll).
Combine it
- Needs: Ground Move. The Inspector warns while one is missing.
- Priority 16: when several states could run, the highest priority wins (see How modules combine).
- Used by the presets: Traversal Adventure, Action RPG.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Character | The character this module belongs to. Drag its Character Motor here. | None | |
| Distance | Distance the roll covers in its fast part, metres. | 0 or more | 3.2 |
| Move Time | Seconds of the fast part of the roll. | 0.01 or more | 0.43 |
| Backstep Distance | Distance the backstep covers in its fast part, metres. | 0 or more | 1.6 |
| Backstep Time | Seconds of the fast part of the backstep. | 0.01 or more | 0.3 |
| Recovery Time | Seconds after the fast part before the character can act again; it slows to a stop meanwhile. | 0 or more | 0.27 |
| Recovery Distance | Distance slid while recovering, metres. | 0 or more | 0.3 |
| Stamina Cost | With a Stamina module: stamina points each dodge costs. | 0 or more | 12 |
| Buffer Time | A Dodge press this many seconds before a dodge can start still starts one. | 0 or more | 0.25 |