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
 action
 add(sprite_set,animation_name,start_frame,frame_count,duration,loop_count), sprite
 addBody, physics
 affectedByGravity, PhysicsBody
 allowsResting, PhysicsBody
 allowsRotation, PhysicsBody
 alpha, Node
 angularDamping, PhysicsBody
 angularVelocity, PhysicsBody
 animate, action
 area(read-only), PhysicsBody
C
 categoryBitMask, PhysicsBody
 Circle
 collisionBitMask, PhysicsBody
 createScene
D
 didMoveToView
 director
 Display Types
 dynamic, PhysicsBody
E
 emitter
 emmiter
 Emmiter
 event
F
 followPath, action
 friction, PhysicsBody
 Functions
G
 GeminiObject
 GeminiObject:addEventListener(name,listener), GeminiObject
 GeminiObject:removeEventListener(name,listener), GeminiObject
 gotoScene, director
 gravityScale, PhysicsBody
H
 hidden, Node
I
 Introduction
J
 joints(read-only), PhysicsBody
L
 linearDamping, PhysicsBody
 loadScene, director
M
 mass, PhysicsBody
 moveToX, action
N
 name
 Native UI Types
 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
 node(read-only), PhysicsBody
 Node:delete, Node
 Node:setPostion(x,y), Node
 Non Display Types
P
 parent, Node
 Path
 paused, Node
 physics
 PhysicsBody
 PhysicsBody:addShape(shape,listener), PhysicsBody
 PhysicsBody:removeEventListener(name,listener), PhysicsBody
 play, sound
 Properties
R
 Rectangle
 repeatAction, action
 resting, PhysicsBody
 restitution, PhysicsBody
 rotate, action
S
 scene, Node
 Scene Template
 scene_events
 setTarget
 shape
 Shape
 Shape:setFillColor(r,g,b,a), Shape
 Shape:setStrokeColor(r,g,b,a), Shape
 sound
 speed, Node
 Sprite
 sprite library
 Sprite:pause, Sprite
 Sprite:play, Sprite
 Sprite:prepare(animation_name), Sprite
T
 text, text_field
 text_field
 text_field:setBorderWidth, text_field
U
 ui
 userInteractionEnabled, Node
V
 velocity, PhysicsBody
X
 x, Node
 xScale, Node
Y
 y, Node
 yScale, Node
Z
 zPosition, Node
 zRotation, Node
Creates a Bezier Path that can be used as the basis for shapes or actions that move nodes.
The action library is used to create actions that can be run by nodes.
function sprite.add(sprite_set,
animation_name,
start_frame,
frame_duration,
loop_count)
Defines an animation for a given sprite set.
A boolean value that indicates whether or not this body should respond to gravity.
A boolean value that indicates whether or not this body is allowed to sleep.
A boolean value that indicates whether or not this body responds to angular forces or impulses.
The transparency value applied to the Node’s contents.
Like friction for rotation.
The phsyics bodies rotational speed in radians per second (clockwise) about the z-axis.
Create an action that animates a Sprite.
The area covered by this body
The mask that defines which categories this physics body belongs to for collision determination.
A circle object.
The mask that defines which categories of physics bodies can collide with this body.
Event generated when a scene is first loaded.
Event generated when a scene has just been transitioned.
The director library provides scene manageement, with methods to load, initialize, transition to, and destroy scenes.
Boolean flag indicating whether or not this object responds to forces and collisions or moves at all.
The emitter library is used to create particle emitters using data from the XCode particle system tool.
Emmitter objects are particle emitters that can be used for effects like flame, smoke, etc.
Emmitter objects are particle emitters that can be used for effects like flame, smoke, etc.
An object passed to an event handler that contains information about the event that has occurred.
Create an action that causes the target Node to move along a given Path.
The roughness of the surface of the body.
The base object type for all objects in Gemini SK.
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.
The roughness of the surface of the body.Ffre
Boolean flag indicating whether or not the Node and it’s children are rendered.
Gemini SK is a framework that provides Lua bindings to the iOS Sprit Kit framework.
The PhysicsJoints connected to the body.
A property that reduces a body’s linear velocity.
function director.loadScene(file,
param1,
param2)
Loads a scene but doesn’t display it yet.
The mass of the body in kilograms.
Create an action that causes the target Node to change its x-coordinate to a new value in some time interval.
The name of the event.
The Node’s name.
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.
The basic visual type for Gemini SK.
The Node this body is connected to.
Remove this object from the display and allow it to be garbage collected
Set the position of this Node relative to its parent Node.
The Node’s parent Node.
A mathematical description of a series of shapes or lines.
Boolean value indicating whether or not the actions on the node and its descendantes are processed.
The phsyics library adds support for applying 2D physics to your Nodes.
A body used in physics simulation.
Add a shape
Remove an event listener for the named type of event.
function sound.play(sound)
Play a previously created sound.
A rectangle object.
Exectues an action repeatedly.
Boolean flag indicating whether or not the Node and it’s children are rendered.
The bounciness of the body.
Creates an action to rotate a Node.
The scene that contains the Node.
function emitter.setTarget(node)
Sets the target for the emitter.
method Emitter.setTarget(node)
Sets the target for the emitter.
The shape library provides methods to create shapes likes rectancgles, polygons, circles, and bezier curves.
The parent type for various shapes (circle, rectangle, etc.)
Set the fill color for the rectangle
Set the stroke color for the rectangle
The souind library provides methods to create create and play sound effects and background music.
The speed at which actions of the Node and its descendants actions are performed.
A sprite object.
The sprite library is used to create sprites.
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
The text stored in the input
A text input object.
method text_field:setBorderWidth(width)
Set the width of the border
The UI library provides factories for creating native UI elments like text fields and labels.
Boolean value indicating whether or not the Node receives touch events.
The velocity vector of the physics body in meters per second.
The x coordinate
The scale for the width of the Node and its children.
The y coordinate
The scale for the height of the node and its children.
The height of the Node relative to its parent.
The roatation of the Node about the z-axis (in radians).
Close