gb.display.clear

From Gamebuino Wiki
Revision as of 2014-06-24T18:57:00 by Rodot (talk | contribs) (Created page with "{{lowercase}} __NOTOC__ == Description == Clears the display buffer (erase everything) and set the text cursor back to 0,0 (top left corner). If you need the display to be cle...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Clears the display buffer (erase everything) and set the text cursor back to 0,0 (top left corner). If you need the display to be cleared at each frame, set gb.display.persistence to true (it will give better image stability than if you do it manually).

Syntax

gb.display.clear();

Parameters

none

Returns

none

Example

See also