How To
Godot 4
Build Your First Platformer
A step-by-step beginner guide to building a complete 2D platformer using Godot 4 and GDScript. No game dev experience needed just follow along module by module.
A step-by-step beginner guide to building a complete 2D platformer using Godot 4 and GDScript. No game dev experience needed just follow along module by module.
By the end you'll have a fully playable 2D platformer and the skills to keep building from there.
project.godot plus a scene you can open in Godot, right in the browser with no install. Open the Godot Mod Studio →Each step adds one feature. Write the code, watch it come alive in the canvas, then make it your own.
GDScript is Godot's beginner-friendly Python-like language. Here's a taste of what you'll write across the modules.
if Input.is_action_just_pressed("ui_accept"): if is_on_floor(): velocity.y = JUMP_VELOCITY # Apply gravity when airborne if not is_on_floor(): velocity.y += gravity * delta
func _on_body_entered(body): if body.is_in_group("player"): GameState.score += 1 emit_signal("coin_collected") queue_free()
func _physics_process(delta): if direction == 1 and $RightWall.is_colliding(): direction = -1 elif direction == -1 and $LeftWall.is_colliding(): direction = 1 move_and_slide()
func _on_goal_reached(): # Save score, load next level GameState.save_score() get_tree().change_scene_to_file( "res://scenes/level_2.tscn" )
All 8 modules plus the bonus chapter step by step, with code examples throughout. Download free and go at your own pace.
The tutorial is kept up to date with the latest Godot releases and community feedback.
๐ ๏ธ Free In-House Dev Tools
Use these free browser tools alongside this workshop to create custom sprites, sounds, levels and colour schemes for your game. No installs. Free forever.
if is_on_floor() and Input.is_action_just_pressed("jump"):func _physics_process(delta):move_and_slide()velocity.y += gravity * delta velocity.y = jump_forceBuild 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.