Skip to content

Instantly share code, notes, and snippets.

@llin96
llin96 / phaser-2-to-3.md
Created July 5, 2019 09:39 — forked from johncip/phaser-2-to-3.md
Moving from Phaser 2 to 3

Moving from Phaser 2 → 3: an incomplete guide

Summary

  • I found that the best thing was to ask myself what this or that line was meant to accomplish, and then to search labs.phaser.io for a Phaser 3 example of that task.
  • Usually the issue is just that a function has moved, or some property now requires a setter.
  • There's a real migration guide here: part 1, part 2

Scenes have replaced states (and the game object… mostly)