Difference between revisions of "Gb.setFrameRate"

From Gamebuino Wiki
Jump to: navigation, search
(Created page with "Set how many times the Gamebuino refreshes the display. Has an influence on the gb.update() method.")
 
Line 1: Line 1:
Set how many times the Gamebuino refreshes the display. Has an influence on the gb.update() method.
+
{{DISPLAYTITLE:gb.setFrameRate}}
 +
__NOTOC__
 +
= Description =
 +
Changes how many times per second the program runs.
 +
 
 +
= Syntax =
 +
<pre>gb.setFrameRate(fps)</pre>
 +
 
 +
= Parameters =
 +
* fps (byte): default value is 20 updates/frames per second.
 +
 
 +
= Returns =
 +
none
 +
 
 +
= Example =
 +
 
 +
= See also =

Revision as of 2014-05-14T21:29:58


Description

Changes how many times per second the program runs.

Syntax

gb.setFrameRate(fps)

Parameters

  • fps (byte): default value is 20 updates/frames per second.

Returns

none

Example

See also