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
P
 P, gamvas.key
 PAGE_DOWN, gamvas.key
 PAGE_UP, gamvas.key
 PAUSE, gamvas.key
 PERIOD, gamvas.key
 pixelsPerMeter, gamvas.physics
 play, gamvas.Sound
 position
 positionIterations, gamvas.physics
 postDraw
 preDraw
 preventKeyEvents, gamvas.config
 preventMouseEvents, gamvas.config
Q
 Q, gamvas.key
 quickDistance, gamvas.Vector2D
 quickLength, gamvas.Vector2D
R
 R, gamvas.key
 registerInputEvents, gamvas.State
 removeActor, gamvas.State
 reset, gamvas.ParticleEmitter
 resetForces, gamvas.Actor
 resetWorld, gamvas.physics
 resitution, gamvas.Actor
 resource, gamvas.State
 resume, gamvas.Sound
 RETURN, gamvas.key
 reverseLayerOrder, gamvas.config
 RIGHT
 rotate
 rotation
P: 80
PAGE_DOWN: 34
PAGE_UP: 33
PAUSE: 19
PERIOD: 190
pixelsPerMeter: 64
Sets the pixels per meter ratio.
gamvas.Sound.prototype.play = function()
Play the sound once, restarts the sound automatically
this.position
A gamvas.Vector2D object with the position information
this.position
The current position as gamvas.Vector2D
The position information in the grid as gamvas.Vector2D
create: function(
   x,
   y,
   id
) { this.connected = new Array(); this.position = new gamvas.Vector2D(x, y); (id) ? this.id = id : this.id = this.position.x+'_'+this.position.y; }
A gamvas.Vector2D holding the position of the node
this.position
A gamvas.Vector2D object that holds the position of the camera.
A gamvas.Vector2D object with the position information
positionIterations: 8
Sets the Box2D position iteration steps
postDraw: function(t)
Gets called after camera handling.
postDraw: function(t)
Gets called after camera handling.
postDraw: function(t)
This function is called after camera is applied.
preDraw: function(t)
Gets called after screen clear and before camera handling.
preDraw: function(t)
Gets called after screen clear and before camera handling.
preDraw: function(t)
This function is called before camera is applied.
preventKeyEvents: false
Capture the whole documents key events?
preventMouseEvents: false
Capture the whole documents mouse events?
Q: 81
gamvas.Vector2D.prototype.quickDistance = function(v)
Returns a comparable distance between the current vector and vector v
gamvas.Vector2D.prototype.quickLength = function()
Returns the non sqrt() length of the vector, which is faster to calculate as it’s real length.
R: 82
registerInputEvents: function(act)
Send keyboard/mouse events to gamvas.Actor onKeyDown and similar functions
removeActor: function(act)
Add a gamvas.Actor to the state.
reset: function(kill)
Reset the particle emitter
resetForces: function(x,
y,
r)
Resets all physical forces on the actor
resetWorld: function(gravx,
gravy,
slp,
listener)
Resets the physics world
The physical property of resitution (bounce).
this.resource
a gamvas.Resource instance, to allow easy file loading
gamvas.Sound.prototype.resume = function()
Resumes a stopped sound, without rewinding it
RETURN: 13
reverseLayerOrder: false
Reverse layer sorting
RIGHT: 39
RIGHT: 2
Defines the right mouse button
rotate: function(r)
Rotate the actor
rotate: function(r)
Rotate the animation
gamvas.Camera.prototype.rotate = function(r)
Rotate the camera for r radians
this.rotate = function(r)
Rotate the image
Rotate the particle emitter
gamvas.Vector2D.prototype.rotate = function(r)
Returns a new vector with the current vector rotated a certain angle.
this.rotation
The rotation of the actor
this.rotation
The rotation in radians
this.rotation
The rotation of the camera in radians.
The rotation of the particle emitter
Close