Docs Cookbook
Day and night
Select the world in the Explorer. Day & night: set Day length (minutes)
#Without code
- Select the world in the Explorer. Day & night: set Day length (minutes) and the Time of day it starts at.
- Lamps: a Light with Only at night.
- Things that happen at dusk: a Trigger with When night falls (or morning comes), such as Show popup "The wolves come out".
- Check the time in any Rule with If It is night.
- Skip ahead (a bed): Then Set time of day (Hour 6).
Quick code:
if is_night() then
popup("You sleep till morning.")
set_hour(6)
else
popup("It's " .. hour() .. " o'clock.")
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.