• Hey! Guest! The 37th GMC Jam will take place between May 28th, 12:00 UTC and June 1st, 12:00 UTC. Why not join in! Click here to find out more!

What is the relationship between alarm function and room_speed?

Homunculus

Member
Alarms are set in steps, while the room_speed represents the number of steps per second.
By multiplying the number of steps * room_speed you get a value in seconds.

This means that alarm[0] = room_speed * 4 is effectively setting the alarm0 to 4 seconds (as long as your game isn’t lagging)
 
Top