Voxel Game Maker

Docs Cookbook

Double jump

Game Settings ▸ Physics ▸ Jumps in the air (1 = double jump, 2 = triple).

#Without code

Game Settings ▸ Physics ▸ Jumps in the air (1 = double jump, 2 = triple).

To earn it from an item instead:

  1. Leave Jumps in the air at 0.
  2. Make a Feather item and place it as a pickup.
  3. On the feather, add a Trigger (Advanced) with When touch, Then Change player movement (What Jumps in the air, How set, Value 1).

#Quick code

Where it goes: on the feather, or anywhere the player earns it.

player_move("air_jumps", 1)
popup("You can double jump!")