Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
game stage (canvas)
game camera
game world
Your game world and your game canvas can be the same size — or they can be different sizes. By default, they are set to the same size. The size of the game canvas represents what is displayed to the player at any given time. However, you can make your game world larger than your game canvas (and then make the game canvas scroll automatically as the player's character moves through the game world).
Sprites - adding, setting properties
sprite groups
Arcade physics properties
sprite animations
Particle Effects
weapon and bullets
sprite health
how to add enemy AI behaviors
Arcade physics methods for collisions and overlap
Phaser CE code examples
see also Phaser CE API Code Reference and other online examples of Phaser CE (Phaser 2) game coding
images - adding, setting properties
input using keys
input using mouse/pointer
add audio to game (sound effects, music)
add text to game
tween animations
start screen, pause/resume game, game over screen
tilesprite background that scrolls
random numbers
other Arcade physics methods, such as: find closest object, get distance between objects, get angle between objects, accelerate sprite towards location, etc.
timers