Difference between revisions of "Gb.setFrameRate"

From Gamebuino Wiki
Jump to: navigation, search
({{lowercase}} title template added)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:gb.setFrameRate}}
+
{{lowercase}}
 
__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]]

Latest revision as of 2014-05-20T20:00:59

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