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
Sprites - adding, setting properties
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).
sprite animations
Arcade physics properties
sprite groups
weapon and bullets
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
sprite health
add audio to game (sound effects, music)
images - adding, setting properties
input using mouse/pointer
Particle Effects
add text to game
input using keys
start screen, pause/resume game, game over screen
tilesprite background that scrolls
tween animations
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