Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Custerly on Sat 30/11/2024 20:10:33

Title: How to Change Game Loop Tick Rate
Post by: Custerly on Sat 30/11/2024 20:10:33
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?
Title: Re: How to Change Game Loop Tick Rate
Post by: eri0o on Sat 30/11/2024 20:48:13
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.
Title: Re: How to Change Game Loop Tick Rate
Post by: Custerly on Mon 02/12/2024 14:32:38
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.