Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 add(sprite_set,animation_name,start_frame,frame_count,duration,loop_count), sprite
C
 circle:setBorderWidth, circle
 circle:setFillColor, circle
D
 displayobject:delete, displayobject
G
 geminiObject:addEventListener(name,listener), geminiObject
 geminiObject:removeEventListener(name,listener), geminiObject
 gotoScene, director
L
 layer:insert(display_object), layer
 layer:setBlendFunc(src_blend,dest_blend), layer
 line:setColor, line
 loadScene, director
N
 newCircle, display
 newLine, display
 newRect, display
 newSprite, sprite
 newSpriteSet, sprite
 newSpriteSheetFromData, sprite
R
 rectangle:setBorderWidth, rectangle
 rectangle:setFillColor, rectangle
S
 sprite:pause, sprite
 sprite:play, sprite
 sprite:prepare(animation_name), sprite
T
 text_field:setBorderWidth, text_field
function sprite.add(sprite_set,
animation_name,
start_frame,
frame_duration,
loop_count)
Defines an animation for a given sprite set.
method circle:setBorderWidth(width)
Set the width of the border
method circle:setFillColor(r,
g,
b,
a)
Set the fill color for the circle
Remove this object from the display and allow it to be garbage collected
method geminiObject:addEventListener(name,
listener)
Add an event listener for the named type of event.
method geminiObject:removeEventListener(name,
listener)
Remove an event listener for the named type of event.
function director.gotoScene(sceneName,
params)
Transitions to a scene.
method layer:insert(display_object)
Add a display object to this layer.
Set the blend function for this layer.
Set the color of the line
function director.loadScene(file,
param1,
param2)
Loads a scene but doesn’t display it yet.
function display.newCircle(x1,
y1,
x2,
y2)
Create a circle.
function display.newLine(x1,
y1,
x2,
y2)
Create a polyline.
function display.newRect(x,
y,
width,
height)
Creates a rectangle.
function sprite.newSprite(sprite_set)
Creates a new sprite.
function sprite.newSpriteSet(sprite_sheet,
start_frame,
frame_count)
Creates a new sprite set.
function sprite.newSpriteSheetFromData(file)
Loads a sprite sheet from a data file and creates a texture from the associated image file.
method rectangle:setBorderWidth(width)
Set the width of the border
method rectangle:setFillColor(r,
g,
b,
a)
Set the fill color for the rectangle
method sprite:pause()
Pause the sprite animation.
method sprite:play()
Start the sprite animation.
method sprite:prepare(animation_name)
Load an animation for the sprite
method text_field:setBorderWidth(width)
Set the width of the border
Close