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
L
 L, gamvas.key
 layer, gamvas.Actor
 leave
 LEFT
 length, gamvas.Vector2D
 lifetime, gamvas.ParticleEmitter
 loading, gamvas.State
 loop, gamvas.Sound
M
 M, gamvas.key
 Macros
 MIDDLE, gamvas.mouse
 move
 mute, gamvas.Sound
N
 N, gamvas.key
 name
 normalized, gamvas.Vector2D
 NUM_0, gamvas.key
 NUM_1, gamvas.key
 NUM_2, gamvas.key
 NUM_3, gamvas.key
 NUM_4, gamvas.key
 NUM_5, gamvas.key
 NUM_6, gamvas.key
 NUM_7, gamvas.key
 NUM_8, gamvas.key
 NUM_9, gamvas.key
 numberOfFrames, gamvas.Animation
 NUMLOCK, gamvas.key
 NUMPAD_0, gamvas.key
 NUMPAD_1, gamvas.key
 NUMPAD_2, gamvas.key
 NUMPAD_3, gamvas.key
 NUMPAD_4, gamvas.key
 NUMPAD_5, gamvas.key
 NUMPAD_6, gamvas.key
 NUMPAD_7, gamvas.key
 NUMPAD_8, gamvas.key
 NUMPAD_9, gamvas.key
 NUMPAD_ADD, gamvas.key
 NUMPAD_DECIMALPOINT, gamvas.key
 NUMPAD_DIVIDE, gamvas.key
 NUMPAD_MULTIPLY, gamvas.key
 NUMPAD_SUBTRACT, gamvas.key
O
 O, gamvas.key
 onCollision, gamvas.ActorState
 onCollisionEnter, gamvas.ActorState
 onCollisionLeave, gamvas.ActorState
 onKeyDown
 onKeyUp
 onMouseDown
 onMouseMove
 onMouseUp
 onParticleEnd, gamvas.ParticleEmitter
 onTouchDown, gamvas.State
 onTouchMove, gamvas.State
 onTouchUp, gamvas.State
L: 76
this.layer
Integer value used for z-sorting on automatic draw through gamvas.State.addActor
leave: function()
Gets called when the state is left.
leave: function()
The enter function is called when the state is left.
LEFT: 37
LEFT: 0
Defines the left mouse button
gamvas.Vector2D.prototype.length = function()
Return the length of the vector in pixels.
The time the emitter is running
loading: function(t)
Overwrite for a custom loading screen
gamvas.Sound.prototype.loop = function()
Play the sound looping (e.g.
M: 77
MIDDLE: 1
Defines the middle mouse button
move: function(x,
y)
Move the actor
move: function(x,
y)
Move the animation
gamvas.Camera.prototype.move = function(x,
y)
Move the camera, relative to its current position.
this.move = function(x,
y)
Move the image
Move the particle emitter
gamvas.Sound.prototype.mute = function()
Mute the sound
N: 78
this.name
The name of the actor
this.name
The name of the actor state
this.name
The name of the animation.
The name of the particle emitter
this.name
The name of the state, must be unique within all states
gamvas.Vector2D.prototype.normalized = function()
Returns the normalized vector of a vector.
NUM_0: 48
NUM_1: 49
NUM_2: 50
NUM_3: 51
NUM_4: 52
NUM_5: 53
NUM_6: 54
NUM_7: 55
NUM_8: 56
NUM_9: 57
this.numberOfFrames
The the frame count of the animation
NUMLOCK: 144
NUMPAD_0: 96
NUMPAD_1: 97
NUMPAD_2: 98
NUMPAD_3: 99
NUMPAD_4: 100
NUMPAD_5: 101
NUMPAD_6: 102
NUMPAD_7: 103
NUMPAD_8: 104
NUMPAD_9: 105
NUMPAD_ADD: 107
NUMPAD_DECIMALPOINT: 110
NUMPAD_DIVIDE: 111
NUMPAD_MULTIPLY: 106
NUMPAD_SUBTRACT: 109
O: 79
onCollision: function(a,
ni,
ti,
c)
The actor starts a collision with another actor
onCollisionEnter: function(a,
c)
The actor starts a collision with another actor
onCollisionLeave: function(a,
c)
The actor leaves a collision with another actor
onKeyDown: function(keyCode,
character,
ev)
A key on the keyboard was pressed
onKeyDown: function(keyCode,
character,
ev)
A key on the keyboard was pressed
onKeyUp: function(keyCode,
character,
ev)
A key on the keyboard was released
onKeyUp: function(keyCode,
character,
ev)
A key on the keyboard was released
onMouseDown: function(button,
x,
y,
ev)
A mouse button was pressed
onMouseDown: function(button,
x,
y,
ev)
A mouse button was pressed
onMouseMove: function(x,
y,
ev)
The mouse was moved
onMouseMove: function(x,
y,
ev)
The mouse was moved
onMouseUp: function(button,
x,
y,
ev)
A mouse button was released
onMouseUp: function(button,
x,
y,
ev)
A mouse button was released
onParticleEnd: function(pos,
rot,
scale,
vel)
Overwrite this function to do something everytime a particle is removed
onTouchDown: function(id,
x,
y,
ev)
A finger starts touching the display
onTouchMove: function(id,
x,
y,
ev)
A finger is sliding over the surface
onTouchUp: function(id,
x,
y,
ev)
A finger stopped touching the display
Close