Difference between revisions of "Gb.setFrameRate"

From Gamebuino Wiki
Jump to: navigation, search
m (Syntax: added semicolon)
(Changed title depth)
Line 1: Line 1:
 
{{DISPLAYTITLE:gb.setFrameRate}}
 
{{DISPLAYTITLE:gb.setFrameRate}}
 
__NOTOC__
 
__NOTOC__
= Description =
+
== Description ==
 
Changes how many times per second the program runs.
 
Changes how many times per second the program runs.
  
= Syntax =
+
== Syntax ==
 
<pre>gb.setFrameRate(fps);</pre>
 
<pre>gb.setFrameRate(fps);</pre>
  
= Parameters =
+
== Parameters ==
 
* fps (byte): default value is 20 updates/frames per second.
 
* fps (byte): default value is 20 updates/frames per second.
  
= Returns =
+
== Returns ==
 
none
 
none
  
= Example =
+
== Example ==
  
= See also =
+
== See also ==
 
*[[gb.update]]
 
*[[gb.update]]

Revision as of 2014-05-18T09:57:25


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