Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
images - adding, setting properties
Phaser CE code examples
see also Phaser CE API Code Reference and other online examples of Phaser CE (Phaser 2) game coding
game stage (canvas)
game camera
Sprites - adding, setting properties
sprite animations
how to add enemy AI behaviors
Arcade physics properties
weapon and bullets
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 health
other Arcade physics methods, such as: find closest object, get distance between objects, get angle between objects, accelerate sprite towards location, etc.
sprite groups
add audio to game (sound effects, music)
Arcade physics methods for collisions and overlap
input using mouse/pointer
Particle Effects
random numbers
add text to game
tilesprite background that scrolls
tween animations
timers
input using keys
start screen, pause/resume game, game over screen