Frame Management

Manages the game frames, such as for updating animations and redrawing the screen.

Configuration

FRAMES_SET

Enables or disables the generation of periodic FRAMES_UPDATE and FRAMES_REDRAW inputs to the application.

output (yes/no) FRAMES_SET
  • Parameters:
    • yes/no: new state
      • yes: enables the generation of frames
      • no: disables the generation of frames

Inputs

FRAMES_UPDATE

input (integer) FRAMES_UPDATE
  • Occurrences:
  • Payload:
    • integer: the number of milliseconds elapsed since the previous frame

FRAMES_REDRAW

input (none) FRAMES_REDRAW
  • Occurrences:
  • Payload:
    • none: no payload

Before the input occurs, the screen is automatically cleared with WINDOW_CLEAR.