A | |
A, gamvas.key | |
actor, gamvas. | |
ALT, gamvas.key | |
autoClear, gamvas. | |
B | |
B, gamvas.key | |
BACKSLASH, gamvas.key | |
BACKSPACE, gamvas.key | |
baseURL, gamvas | |
body, gamvas. | |
BRACKET_CLOSE, gamvas.key | |
BRACKET_OPEN, gamvas.key | |
BREAK, gamvas.key | |
C | |
c, gamvas. | |
C, gamvas.key | |
camera, gamvas. | |
canvas, gamvas. | |
CAPSLOCK, gamvas.key | |
center | |
clearColor, gamvas. | |
COMMA, gamvas.key | |
connected, gamvas. | |
CTRL, gamvas.key | |
currentAnimation, gamvas. | |
currentFrame, gamvas. | |
D | |
D, gamvas.key | |
DASH, gamvas.key | |
data, gamvas. | |
debugAlpha, gamvas. | |
debugStrokeWidth, gamvas. | |
DELETE, gamvas.key | |
density, gamvas. | |
dimension, gamvas. | |
disableCamera, gamvas. | |
DOWN, gamvas.key | |
E | |
E, gamvas.key | |
emitted, gamvas. | |
END, gamvas.key | |
EQUAL, gamvas.key | |
ESCAPE, gamvas.key | |
F | |
F, gamvas.key | |
F1, gamvas.key | |
F10, gamvas.key | |
F11, gamvas.key | |
F12, gamvas.key | |
F2, gamvas.key | |
F3, gamvas.key | |
F4, gamvas.key | |
F5, gamvas.key | |
F6, gamvas.key | |
F7, gamvas.key | |
F8, gamvas.key | |
F9, gamvas.key | |
fixture, gamvas. | |
frameLimit, gamvas. | |
friction, gamvas. | |
G | |
G, gamvas.key | |
H | |
H, gamvas.key | |
height | |
HOME, gamvas.key | |
I | |
I, gamvas.key | |
INSERT, gamvas.key | |
J | |
J, gamvas.key | |
K | |
K, gamvas.key | |
L | |
L, gamvas.key | |
layer, gamvas. | |
LEFT | |
lifetime, gamvas. | |
M | |
M, gamvas.key | |
MIDDLE, gamvas. |
A: 65
The actor the state is assigned to, or null if not assigned
this.actor
ALT: 18
If set to true, the screen will automatically cleared before drawing functions are called.
this.autoClear
B: 66
BACKSLASH: 220
BACKSPACE: 8
The place there the gamvas scripts live Will be filled on startup
baseURL: ''
The Box2D b2Body, if physics is enabled
this.body
BRACKET_CLOSE: 221
BRACKET_OPEN: 219
BREAK: 19
a HTML5 2D context of the canvas the game is running on.
this.c
C: 67
a gamvas.Camera instance, to modify camera.
this.camera
The DOM element of the canvas the game is running on.
this.canvas
CAPSLOCK: 20
A gamvas.Vector2D object with the center offset of the actor
this.center
The center of rotation of the animation
this.center
The color to clear the screen, if gamvas.State.autoClear is enabled.
this.clearColor
COMMA: 188
CTRL: 17
The name of the current animation
this.currentAnimation
The index of the current frame
this.currentFrame
D: 68
DASH: 189
The actual object
this.data
The alpha of physics debug information
debugAlpha: 0.3
The stroke width if you draw physics debug information
debugStrokeWidth: 2
DELETE: 46
The physical property of density.
this.density
a object holding the canvas dimension in {w, h}
this.dimension
By default a state provides a full environment for game development.
this.disableCamera
DOWN: 40
E: 69
The amount of emitted particles
this.emitted
END: 35
EQUAL: 187
ESCAPE: 27
F: 70
F1: 112
F10: 121
F11: 122
F12: 123
F2: 113
F3: 114
F4: 115
F5: 116
F6: 117
F7: 118
F8: 119
F9: 120
The Box2D b2Fixture, if physics is enabled
this.fixture
Sets the maximum of rendertime in seconds until a frame is skipped.
frameLimit: 0.1
The physical property of friction Defines the friction of objects.
this.friction
G: 71
H: 72
The height of a single frame in pixels
this.height
The height of the rectangle
this.height
HOME: 36
I: 73
INSERT: 45
J: 74
K: 75
L: 76
Integer value used for z-sorting on automatic draw through gamvas.State.addActor
this.layer
LEFT: 37
Defines the left mouse button
LEFT: 0
M: 77
Defines the middle mouse button
MIDDLE: 1