Difference between revisions of "Gb.display.persistence"

From Gamebuino Wiki
Jump to: navigation, search
m (Description: Added default value)
m (Value: Added default value)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
== Description ==
 
== Description ==
Choose either to automatically clear the screen between each frame or not. The default value is false, meaning the screen is cleared between each frame.
+
Choose either to automatically clear the screen between each frame or not.
  
 
== Syntax ==
 
== Syntax ==
Line 10: Line 10:
 
* true: don't clear the display between each frame
 
* true: don't clear the display between each frame
 
* false: clear the display between each frame
 
* false: clear the display between each frame
 +
 +
The default value is false.
  
 
== Example ==
 
== Example ==
  
 
== See also ==
 
== See also ==

Latest revision as of 2016-11-29T15:12:43

Description

Choose either to automatically clear the screen between each frame or not.

Syntax

gb.display.persistence = true;

Value

  • true: don't clear the display between each frame
  • false: clear the display between each frame

The default value is false.

Example

See also