Roblox Studio
Start with a touch event that changes a platform's color.
Start with Luau →Choose the engine you can access, copy the starter code, predict what happens, then test it. These are independent educational activities—not official Roblox, Minecraft or Godot courses.
Start with a touch event that changes a platform's color.
Start with Luau →Use a chat command to place blocks programmatically.
Start with MakeCode →Move a simple 2D character with keyboard input.
Start with GDScript →Goal: Walk onto a platform and watch its color change. Learn how an event triggers a conditional action.
ColorPad, set Anchored to true and CanTouch to true.local pad = script.Parent
local coolingDown = false
pad.Touched:Connect(function(hit)
local character = hit:FindFirstAncestorOfClass("Model")
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if not humanoid or coolingDown then return end
coolingDown = true
pad.BrickColor = BrickColor.Random()
task.wait(1)
coolingDown = false
end)
Challenge: Change task.wait(1) to task.wait(0.2). Predict whether touching repeatedly will change colors faster, then test.
Touch events can fire repeatedly when several character body parts contact the pad. The coolingDown boolean prevents the handler from changing color more than once during its cooldown interval.
References: Roblox event scripting. This activity requires Roblox Studio, which is separate from this website.
Goal: Type a word in Minecraft Education chat and have code place a block in front of you.
stone in chat and test whether a block appears near your position.player.onChat("stone", function () {
blocks.place(STONE, pos(0, 0, 1))
})
Challenge: Change the position offset from pos(0, 0, 1) to pos(0, 0, 2). Explain what the last number changes in the placement location.
The chat command is an event. The callback contains instructions. The position is a parameter. Changing the parameter changes the result you expect to see, and playtesting checks the hypothesis.
References: MakeCode chat commands and block placement.
Goal: Connect arrow-key input to movement velocity and collision-aware physics.
ui_* direction actions.speed to see how movement changes.extends CharacterBody2D
@export var speed := 220.0
func _physics_process(_delta):
var direction = Input.get_vector(
"ui_left", "ui_right", "ui_up", "ui_down"
)
velocity = direction * speed
move_and_slide()
Challenge: Add a StaticBody2D wall and CollisionShape2D, run into it and observe what happens. If the character passes through, check the wall and character collision layers, masks and shapes.
It applies movement in Godot's physics system and handles many collision responses automatically for a CharacterBody2D. The script calculates a desired velocity from player input, then asks the engine to move the body.
Reference: Godot 2D movement tutorial.
These free projects are complete on their own. If you'd like a longer sequence of self-paced exercises, choose the editor you already use. Each purchase is one-time, with no live sessions or software included.
6 lessons · Luau, obstacles, checkpoints and an obby project.
$19 one-time
Buy Roblox →6 lessons · MakeCode JavaScript. Minecraft Education access required.
$29 one-time
Buy Minecraft →8 lessons · Godot 4 GDScript and a small original game.
$39 one-time
Buy Godot →Or get all three for $59. Read the purchase and access information before buying. Engine testing and educator review are still ongoing.
Our free browser arcade illustrates collisions, collectibles, checkpoints and finish conditions. It isn't a game engine and doesn't replace the projects above.
When you are ready for a longer self-paced pathway, compare the three written course options. The paid course materials remain separate from these free tutorials. No live lessons are included.