How to Change Game Loop Tick Rate

Started by Custerly, Sat 30/11/2024 20:10:33

Previous topic - Next topic

Custerly

Hi guys,

I understand the tick rate for a game loop is 40 times per second. As the frame rate for my game is 60, I'd prefer to change the loop tick rate to 60 per second. Is there a way to do this?

eri0o

AGS doesn't have a difference between those, if you make the game 60fps by using SetGameSpeed(60), it will also be using 60 ticks.

Custerly

Quote from: eri0o on Sat 30/11/2024 20:48:13AGS doesn't have a difference between those, if you make the game 60fps by using SetGameSpeed(60), it will also be using 60 ticks.

Thanks eri0o. I thought this was the case, and was very confused when the tick rate didn't change after I used the SetGameSpeed function, hence this post. I have since realized that I was already using that function elsewhere and it was superceding the code I was adding without me realizing that.

SMF spam blocked by CleanTalk