Learn Phaser: Multi-Scened Games
Lesson 1 of 2
  1. 1
    Phaser 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…
  2. 2
    In this exercise, we’re going to refactor the code from the Learn Phaser: Physics Lesson. One major change that we’r…
  3. 3
    Since 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…
  4. 4
    Phaser 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…
  5. 5
    Having 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…
  6. 6
    Great job refactoring our game! We now have the ability add additional features using multiple Scenes! In this lesson we covered: * The usage of JavaScript class syntax to include multiple Scenes …

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