Difference between revisions of "Reference"

From Gamebuino Wiki
Jump to: navigation, search
(core)
(sound)
Line 43: Line 43:
 
Play :
 
Play :
 
<code>
 
<code>
* [[gb.sound.play]](sound)
+
* [[gb.sound.play]](sound, channel)
 
* [[gb.sound.isPlaying]](channel)
 
* [[gb.sound.isPlaying]](channel)
 
* [[gb.sound.stop]](''channel'')
 
* [[gb.sound.stop]](''channel'')

Revision as of 2014-04-28T15:59:13

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