![]() ![]() I could also just be missing something entirely. ![]() If os.clock() > LastFrame + UpdateRate thenĬan someone explain to me why this is causing unpredictable results and my game is now running below 60 Hz with this applied? It really shouldn’t be and i’m really confused as to why this is happening. RunService.RenderStepped:Connect(function()Īttempt at framerate cap: - With this code, the simulation now only seems to update at around 40 Hz? (which will speed up the simulation and make the game appear sped up)Ĭurrent method: - Runs at 60 Hz (Assuming an FPS unlocker isn't being used) Hey all, so I’ve been trying to make my custom game engine FPS unlocker proof, as the game currently relies on the client’s framerate to update the simulation, and if the user uses an FPS unlocker, the game will run above 60 Hz ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |