This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getgameframecount [2021/02/13 15:04] – virgilw | 4rpl:commands:getgameframecount [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Description ===== | ===== Description ===== | ||
- | Pushes the game's frame count to the stack. The frame count increments by 1 for every frame of the game. This happens when the game is paused and every time the screen is refreshed. Typically this is at 60fps, which means the frame count can go up by 2 for every game frame. When high FPS is disables, the frame count increases by 1 for every game frame.\\ | + | Pushes the game's frame count to the stack. The frame count increments by 1 for every frame of the game. This happens when the game is paused and every time the screen is refreshed. Typically this is at 60fps, which means the frame count can go up by 2 for every game frame. When high FPS is disabled, the frame count increases by 1 for every game frame.\\ |
Also refer to [[GetGameUpdateCount]] and [[GetGameTickCount]] for additional timer-based commands. | Also refer to [[GetGameUpdateCount]] and [[GetGameTickCount]] for additional timer-based commands. | ||