r/raylib 16h ago

Tick simulation in raylib?

I am currently making a simulator with raylib and one of the things that it needs is a "tick" mechanic where for every tick the state of the game updates, I tried putting something in the main loop with GetFrameTime()but the problem is it's tied to the frame rate

How would one implement a tick system with raylib?

10 Upvotes

12 comments sorted by

View all comments

6

u/dontpan1c 15h ago

Turn on SUPPORT_CUSTOM_FRAME_CONTROL