Lunge
Dives forward out of a ground pound. It reaches gaps a jump alone cannot.
A dive forward out of a ground pound: a fixed-speed lunge with a small hop, to cover a gap the jump alone would not.
LungeHow it works
An action of Falling that leads to Walking. Starts from Ground Pound, on: Action. Committed until it lands; interrupts Ground Pound; its kind of air move is pound, which a flight may forbid. Ends when the belly slide stops, or on a bonk, then the Walking mode and the Falling mode.
Lunge: press the action button during a ground pound to lunge forward, as in modern 3D platformers: a quick hop under heavy gravity, at a set speed whatever came before. The stick cannot speed it up; pulling back slows it and sideways steers it a little. It cannot be cancelled in the air; running into a wall bonks off it. Landing with crouch held rolls on (Roll); otherwise the character slides to a stop on its belly, and can jump out of that. There is no lunge from the ground.
The motor's Body Facing must be States. Numbers from the modern 3D platformer measurements (D44); the sideways cap, the bonk and the belly slide are not published and are choices.
Combine it
- Needs: Air Move, Ground Pound. The Inspector warns while one is missing.
- Priority 27: when several states could run, the highest priority wins (see How modules combine).
- Body facing: works with characters whose body faces States.
- Used by the presets: Modern Platformer.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Character | The character this module belongs to. Drag its Character Motor here. | None | |
| Up Speed | Upward speed of the lunge's hop, m/s. | 0 or more | 19.8 |
| Gravity Scale | Gravity is multiplied by this during the lunge. | 0 or more | 1.333 |
| Speed | Forward speed the lunge sets, m/s. | 0 or more | 15.2 |
| Brake | How quickly pulling the stick back slows the lunge, m/s². | 0 or more | 22.8 |
| Minimum Speed | Pulling back cannot slow the lunge below this, m/s. | 0 or more | 1.9 |
| Steer Acceleration | How quickly a sideways stick steers the lunge, m/s². | 0 or more | 5.7 |
| Steer Speed | Fastest sideways drift, m/s. | 0 or more | 3.8 |
| Bonk Speed | Speed the character bounces back off a wall it dives into, m/s. | 0 or more | 2 |
| Slide Deceleration | How quickly the belly slide after landing slows down, m/s². | 0 or more | 20 |
| Slide Time | Longest belly slide after landing, seconds. | 0 or more | 0.5 |