Difference between revisions of "Gb.begin"
From Gamebuino Wiki
(→Parameters: changed max logo height to 36px) |
m (→Parameters: max logo size changed to 30px) |
||
Line 9: | Line 9: | ||
== Parameters == | == Parameters == | ||
* F("name") ''(optional)'': Replace "name" with the name of your game (but keep the " "). Will be displayed in the start menu. | * F("name") ''(optional)'': Replace "name" with the name of your game (but keep the " "). Will be displayed in the start menu. | ||
− | * logo ''(optional)'': The logo of your game. Any size from 8*8px up to 64* | + | * logo ''(optional)'': The logo of your game. Any size from 8*8px up to 64*30px. |
== Returns == | == Returns == |
Revision as of 2014-05-28T18:45:13
Description
Initialize the Gamebuino and displays the startup screen. Should be called once at the beginning of the setup() function.
Syntax
gb.begin(F("name"), logo);
Parameters
- F("name") (optional): Replace "name" with the name of your game (but keep the " "). Will be displayed in the start menu.
- logo (optional): The logo of your game. Any size from 8*8px up to 64*30px.
Returns
none
Example