Docs Cookbook
Fall damage and safe falls
Game Settings ▸ Physics ▸ Fall damage per level (0 = none)
#Without code
Game Settings ▸ Physics ▸ Fall damage per level (0 = none) and Safe fall (levels) (how far the player can drop without getting hurt).
#Quick code
Where it goes: Event: Player enters the world.
, a hand-made version:
while true do
wait_until(function() return player_state() == "fall" end)
local top = player.y
wait_until(function() return player_state() ~= "fall" end)
if top - player.y > 4 then hurt(10) end
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.