Skip to content

updateDisplay

Steve Paget edited this page Jul 25, 2018 · 4 revisions

Commits all sprite changes and draws to the screen


Syntax:

updateDisplay()

Used in conjunction with setAutoUpdate, this refreshes the screen and draws all the sprites in their new positions. Use this once during your main game loop.

Clone this wiki locally