This chapter highlights gaming using a HTML5 Canvas with Phaser. It covers the following topics:
Understanding the gaming states
Drawing on canvas
Playing some music
Using sprites from the sprite sheet
Demonstrating animation
Demonstrating collision
Demonstrating physics
Game 1 – Fruit Basket
Game 2 – Catapult