Docs Cookbook
Order puzzle
Three buttons, each with a Trigger When the player presses E.
#Without code
- Three buttons, each with a Trigger When the player presses E.
- Button 1: Add to counter
step(1). Button 2: condition Counter at leaststep1, then add 1. Button 3: condition Counter at leaststep2, then Set switchvault. - A wrong press can reset
stepwith Add to counter (a minus amount).
#Quick code
Where it goes: on each button, Event: Player presses E; set my_step to 1, 2 or 3.
local my_step = 2
if counter("step") == my_step - 1 then
add("step")
play("tick")
if counter("step") == 3 then set_switch("vault") banner("Open!") end
else
add("step", -counter("step"))
play("hurt")
end
Get an email when Voxel Game Maker launches
It's coming to Steam with a launch discount. One email on launch day, the odd progress update, nothing else.