Difference between revisions of "Reference"

From Gamebuino Wiki
Jump to: navigation, search
m (sound: added note about the upcoming changes)
m (changed column width to fit the new css)
Line 5: Line 5:
  
 
Note: Arguments in ''italic'' are optional.
 
Note: Arguments in ''italic'' are optional.
<div style="float:left;width:38em;margin-right:2em;">
+
<div style="float:left;width:480px;margin-right:10px;">
  
 
== core ==
 
== core ==
Line 88: Line 88:
 
</code>
 
</code>
  
</div><div style="float:left;width:38em;margin-right:0em;">
+
</div><div style="float:left;width:480px;margin-right:0;">
  
 
== display ==
 
== display ==

Revision as of 2014-05-21T06:39:50

Here is listed and explained all Gamebuino specific functions (the Gamebuino Library).

See Arduino Reference for general purpose/basic functions and data types.

Note: Arguments in italic are optional.

core

User interface :

Perfomance monitor :

buttons

buttons:

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

sound

Note : sound library will be changed soon to allow the use of instruments, the following functions are just here for reference until then

Play :

Volume :

Build-in sounds :

battery

backlight

The following should be set using SETTINGS.HEX

display

General :

Pixels :

Lines :

Rectangles :

Circles :

Triangles :

Bitmaps :

rotation: NOROT, ROTCCW, ROT180, ROTCW

flip: FLIPH, FLIPV, FLIPVH

Text :

useful constants: LCDWIDTH, LCDHEIGHT, FONTWIDTH, FONTHEIGHT