User Tools

Site Tools


4rpl:commands:getgameframecount

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:getgameframecount [2021/02/13 15:02] virgilw4rpl: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.
  
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
-# Mouse 
- 
 :Frame  :Frame
  #This function is set to get called by the MSG_FrameAdvance message.  #This function is set to get called by the MSG_FrameAdvance message.
4rpl/commands/getgameframecount.1613228547.txt.gz · Last modified: 2025/02/14 14:56 (external edit)