Run & Jump!
GML Platformer
THE GameMaker genre: pixel-perfect platforming with place_meeting collision, gravity, coyote-time jumping, tile-decorated rooms and a camera that follows, the exact recipe behind countless indie hits.
THE GameMaker genre: pixel-perfect platforming with place_meeting collision, gravity, coyote-time jumping, tile-decorated rooms and a camera that follows, the exact recipe behind countless indie hits.
Each step adds one feature. Write the code, watch it come alive in the canvas, then make it your own.
Keep the GML cheatsheet handy
Events, variables and drawing in one place - use it beside this workshop.
Now design your platformer sprites!
Build your hero, tiles, and enemies in Pixel Studio - pixel art made easy, no download needed.
if (place_meeting(x + hsp, y, obj_wall)) hsp = 0;var hsp = 0;x += hsp;if (keyboard_check(vk_right)) hsp = move_speed;if (place_meeting(x, y + 1, obj_wall)) and (keyboard_check_pressed(vk_up)) vsp = -jump_force;Build it in the browser first
Try this project step by step right here: write the code, watch it run, then download it and keep building in your engine.