Difference between revisions of "Reference"

From Gamebuino Wiki
Jump to: navigation, search
(display)
(core)
Line 15: Line 15:
 
<code>
 
<code>
 
* [[gb.changeGame]]()
 
* [[gb.changeGame]]()
 +
* [[getDefaultName]](string) (at least 10 char)
 
* [[gb.menu]](menu, length)
 
* [[gb.menu]](menu, length)
 
* [[gb.keyboard]](text, length)
 
* [[gb.keyboard]](text, length)

Revision as of 2014-04-21T17:47:19

The Reference lists and explains all the functions of the Library.

Arguments in italic are optional.

core

User interface :

Perfomance monitor :

buttons

button:

BTN_A, BTN_B, BTN_C, BTN_UP, BTN_RIGHT, BTN_DOWN, BTN_LEFT

sound

Play :

Volume :

Build-in sounds :

battery

backlight

display

General :

Pixels :

Lines :

Rectangles :

Circles :

Triangles :

Bitmaps :

rotation: NOROT, ROTCCW, ROT180, ROTCW

flip: FLIPH, FLIPV, FLIPVH

Text :

useful constants: LCDWIDTH, LCDHEIGHT, FONTWIDTH, FONTHEIGHT