Skip to content

Platformer trajectory

Platformer character jump easy configuration and platformer AI tools.

Authors and contributors to this community extension: D8H.


This extension allows to:

  • Configure the height of a jump by automatically choosing the right jump speed (open the project online).
  • Know when to jump to reach a platform (can be useful for AI).
  • Draw jump trajectories to check a level design.

Tip

Learn how to install new extensions by following a step-by-step guide.

Platformer trajectory evaluator

Configure the height of a jump and evaluate the jump trajectory.

Behavior actions

Draw jump
Draw the jump trajectories from no sustain to full sustain.

Jump height
Change the jump speed to reach a given height.

Behavior expressions

Expression Description
Object.PlatformerEvaluator::JumpDownTime(number, number) The time from the start of the jump when it reaches a given Y displacement moving downward.
🔢 Number Y position
🔢 Number Jump sustaining duration
Object.PlatformerEvaluator::JumpPeakTime(number) The time from the start of the jump when it reaches the maximum Y displacement.
🔢 Number Jump sustaining duration
Object.PlatformerEvaluator::JumpPeakY(number) The maximum Y displacement.
🔢 Number Jump sustaining duration
Object.PlatformerEvaluator::JumpUpTime(number, number) The time from the start of the jump when it reaches a given Y displacement moving upward.
🔢 Number Y position
🔢 Number Jump sustaining duration
Object.PlatformerEvaluator::JumpY(number, number) The jump Y displacement at a given time from the start of the jump.
🔢 Number Time
🔢 Number Jump sustaining duration
Object.PlatformerEvaluator::MovingX(number) The X displacement at a given time from now if accelerating (always positive).
🔢 Number Time
Object.PlatformerEvaluator::StopXDistance(number) The X displacement before the character stops (always positive).
🔢 Number Time
Object.PlatformerEvaluator::StoppingX(number) The X displacement at a given time from now if decelerating (always positive).
🔢 Number Time

This page is an auto-generated reference page about the Platformer trajectory extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.