gb.setFrameRate

From Gamebuino Wiki
Revision as of 2014-05-20T20:00:59 by Rodot (talk | contribs) ({{lowercase}} title template added)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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