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
$#!
 ]), node.newBezierPath(x0,y0,x1,y1,a0x,a0y,a1x,a1y[,
A
 add(sprite_set,animation_name,start_frame,frame_count,duration,loop_count), sprite
 addBody, physics
 animate, action
F
 followPath, action
G
 GeminiObject:addEventListener(name,listener), GeminiObject
 GeminiObject:removeEventListener(name,listener), GeminiObject
 gotoScene, director
L
 loadScene, director
M
 moveToX, action
N
 newAudioPlayer, sound
 newCircle, shape
 newCurve, shape
 newEmitter, emitter
 newJoing, physics
 newLabel, ui
 newRect, shape
 newScene, director
 newSound, sound
 newSprite, sprite
 newSpriteSet, sprite
 newSpriteSheetFromData, sprite
 newTextField, ui
 Node:delete, Node
 Node:setPostion(x,y), Node
P
 PhysicsBody:addShape(shape,listener), PhysicsBody
 PhysicsBody:removeEventListener(name,listener), PhysicsBody
 play, sound
R
 repeatAction, action
 rotate, action
S
 setTarget
 Shape:setFillColor(r,g,b,a), Shape
 Shape:setStrokeColor(r,g,b,a), Shape
 Sprite:pause, Sprite
 Sprite:play, Sprite
 Sprite:prepare(animation_name), Sprite
T
 text_field:setBorderWidth, text_field
Creates a Bezier Path that can be used as the basis for shapes or actions that move nodes.
function sprite.add(sprite_set,
animation_name,
start_frame,
frame_duration,
loop_count)
Defines an animation for a given sprite set.
Create an action that animates a Sprite.
Create an action that causes the target Node to move along a given Path.
Add an event listener for the named type of event.
Remove an event listener for the named type of event.
function director.gotoScene(sceneName,
params)
Transitions to a scene.
function director.loadScene(file,
param1,
param2)
Loads a scene but doesn’t display it yet.
Create an action that causes the target Node to change its x-coordinate to a new value in some time interval.
function sound.newAudioPlayer(filename)
Creates an AVAuidoPlayer object that can be used to play sounds or background music.
function shape.newCircle(x1,
y1,
radius)
Create a circle.
function shape.newCurve(path)
Create a curve based on a BezierPath.
Loads a sprite sheet from a data file and creates a texture from the associated image file.
Creates a physics joint with the given properties.
function ui.newLabel(font)
Creates a label Node.
function shape.newRect(x,
y,
width,
height)
Creates a rectangle.
Creates an empty scene.
function sound.newSound(filename,
wait)
Creates a simple sound effect using a Sprite Kit action.
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.
function ui.newTextField(x,
y,
widht,
height,
font-string)
Creates a text field for user input.
Remove this object from the display and allow it to be garbage collected
Set the position of this Node relative to its parent Node.
Add a shape
Remove an event listener for the named type of event.
function sound.play(sound)
Play a previously created sound.
Exectues an action repeatedly.
Creates an action to rotate a Node.
function emitter.setTarget(node)
Sets the target for the emitter.
method Emitter.setTarget(node)
Sets the target for the emitter.
Set the fill color for the rectangle
Set the stroke 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