Nodamex
Member
After I set the game speed to 0, my room_speed becomes dynamic (It changes super-fast and correctly between 57-63).
Note: V-sync and Syncronization from options are both enabled.
Eventually, my game's main problem solved by this way because I am using some kind of delta timing. I have never seen this on the forum. I searched it and found no information about setting 0.
I want to know, what is this actually doing? Can I rely on this (I hope)?
I think, it syncronizes room_speed to display's refresh rate but I am not sure.
Additional Note: If I change my display's refresh rate, room_speed corrects itself. It's like a magic.
Note: V-sync and Syncronization from options are both enabled.
Code:
game_set_speed(0, gamespeed_fps)
I want to know, what is this actually doing? Can I rely on this (I hope)?
I think, it syncronizes room_speed to display's refresh rate but I am not sure.
Additional Note: If I change my display's refresh rate, room_speed corrects itself. It's like a magic.
Last edited: