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
T
 T, gamvas.key
 TAB, gamvas.key
 toScreen
 toWorld
 type
U
 U, gamvas.key
 unmute, gamvas.Sound
 UP, gamvas.key
 update, gamvas.ActorState
 usePhysics, gamvas.Actor
V
 V, gamvas.key
 Variables
 velocityIterations, gamvas.physics
W
 W, gamvas.key
 width
 WIN_LEFT, gamvas.key
 WIN_RIGHT, gamvas.key
 worldPerState, gamvas.config
X
 x
 X, gamvas.key
Y
 y
 Y, gamvas.key
Z
 Z, gamvas.key
 zoom, gamvas.Camera
 zoomFactor, gamvas.Camera
T: 84
TAB: 9
gamvas.Camera.prototype.toScreen = function(x,
y)
Convert world coordinates to screen coordinates.
toScreen: function(v)
Calculates a physics coordinate or size to the screen coordinate or size
gamvas.Camera.prototype.toWorld = function(x,
y)
Convert screen coordinates to world coordinates.
toWorld: function(v)
Calculates a screen coordinate or size to a coordinate or size in the physics world
this.type
Allows you to set types to your physics objects to identify them.
this.type
Type object type (e.g.
U: 85
gamvas.Sound.prototype.unmute = function()
Unmute the sound
UP: 38
update: function(t)
Update the ai.
this.usePhysics
Delivers true/false if this object has physics enabled.
V: 86
velocityIterations: 10
Sets the Box2D velocity iteration steps
W: 87
this.width
The width of a single frame in pixels
this.width
The width of the rectangle
WIN_LEFT: 91
WIN_RIGHT: 92
worldPerState: true
Use one physics world per game state?
this.x
The x position of the upper left corner of the rectangle
(x) ? this.x
The x direction of the vector, also used as coordinate value for some functions.
X: 88
this.y
The y position of the upper left corner of the rectangle
(y) ? this.y
The y direction of the vector, also used as coordinate value for some functions.
Y: 89
Z: 90
gamvas.Camera.prototype.zoom = function(z)
Zoom the camera
this.zoomFactor
The zoom factor of the camera.
Close