Difference between revisions of "Gb.begin"
From Gamebuino Wiki
m (Changed title depth) |
(→Example) |
||
Line 15: | Line 15: | ||
== Example == | == Example == | ||
− | < | + | <gistit>https://github.com/Rodot/Gamebuino/blob/master/libraries/Gamebuino/examples/5.Reference/core/begin/begin.ino</gistit> |
− | |||
− | |||
− | Gamebuino | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
== See also == | == See also == |
Revision as of 2014-05-19T09:32:20
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*28px.
Returns
none
Example