Learn Phaser Animations
Learn the power of using multiple scenes in a Phaser game and harness the ability to animate sprites inside your games!
StartLearn Phaser: Multi-Scened Games
Lesson 1 of 2
- 1Phaser games are defined by Scenes. In a simple game, we might only use one Scene. In more elaborate games, we can use multiple Scenes to build out start screens, end screens, or even different lev…
- 2In this exercise, we’re going to refactor the code from the Learn Phaser: Physics Lesson. One major change that we’r…
- 3Since we’re now using the class syntax in our Phaser game, we can add another class that will render a start screen for our players. This start screen will give our players a chance to ready themse…
- 4Phaser has built-in methods that make it easy for us to transition from one Scene to another. For us to transition between Scenes we have to .stop() the playing of a Scene and .start() the next Sce…
- 5Having two Scenes, a gameState object, and our config object in the same file can make our code feel cluttered. As we add more Scenes, this file will continue to grow and it can become difficult to…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory