Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Aquilo on Sat 08/07/2006 23:10:54

Title: concerning VSync
Post by: Aquilo on Sat 08/07/2006 23:10:54
When VSync is turned on, the scrolling rooms do scroll noticeably smoother. But is there a simple way to capture the real number of the cycles the game is locked to in this case (via GetGameSpeed)? The problem is that the game still returns the standard 40 cycles, though I know the refresh rate is at 85 :)
Title: Re: concerning VSync
Post by: Ashen on Sat 08/07/2006 23:39:50
The Debug (http://www.adventuregamestudio.co.uk/manual/Debug.htm) command should give you get the actual FPS (Debug(4,1)), provided the game is in debug mode. If it's not, there's Scorpiorus' Scripted FPS function (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=5388.0), which I think still works.