CMCharacter Modules 0.1.0

Jump Chain

Kind: Modifier · Add Component: Character Modules > Modifiers > Jump Chain

Makes each jump higher when landed jumps follow in rhythm. Timing is rewarded with height.

Jumping again right after landing makes a bigger jump: single, double, triple. Rhythm and speed are rewarded with height.

Inspector
▼Jump Chain⋮
CharacterCharacter (Character Motor)
Double Jump Height4.09
Triple Jump Height7.09
Double Launch Speed0
Triple Launch Speed0
Double Bonus Share1
Triple Height ControlOff ▾
Triple Gravity Scale1
Triple Minimum Speed6.75
Running Window0.133
Standing Window0.267
Minimum Fall Speed1
The Jump Chain component in the Inspector, with its defaults.
Origin. Super Mario 64 (1996): the double and triple jump.

How it works

Changes no state: it only reports or reacts.

Happens on: jump soon after landing. Its flight forbids hanging.

Jump Chain: land and jump again quickly, and the next jump is bigger: single, double, triple, as in classic 3D platformers. The window is short while running and a little longer when standing still. A triple jump needs speed, always goes the same height, and cannot be cut short. Landing from a triple starts over. Falling off a ledge counts as a single, so landing from it allows a double; touching down without really falling (a spawn) does not.

Heights are the top of each jump from a standing start; Running Jump adds to them. Numbers from the classic 3D platformer study (D33).

Combine it

  • Needs: Jump. The Inspector warns while one is missing.
  • Jump rank 10: when a jump starts, the highest-ranked shape that applies chooses its launch.
  • Used by the presets: Retro Platformer, Modern Platformer.

Properties

PropertyDescriptionRangeDefault
CharacterThe character this module belongs to. Drag its Character Motor here.None
Double Jump HeightTop of a double jump from a standing start, metres.0 or more4.09
Triple Jump HeightTop of a triple jump, metres. Speed does not change it.0 or more7.09
Double Launch SpeedTake-off speed of a double jump, m/s, instead of working it out from its height. 0: from the height.0 or more0
Triple Launch SpeedTake-off speed of a triple jump, m/s. 0: from its height.0 or more0
Double Bonus ShareShare of Running Jump's bonus a double jump gets.0 or more1
Triple Height ControlA triple jump's height can be chosen by the jump button, as the others' (modern 3D platformers).Off
Triple Gravity ScaleGravity is multiplied by this during a triple jump (a floatier triple with less than 1).0 or more1
Triple Minimum SpeedSlowest forward speed that turns a third jump into a triple, m/s.0 or more6.75
Running WindowSeconds after landing during which the next jump chains, while moving.0 or more0.133
Standing WindowSeconds after landing during which the next jump chains, with the stick let go.0 or more0.267
Minimum Fall SpeedA landing without a jump before it chains only if the character came down at least this fast, m/s.0 or more1

Additional resources