The complete tutorial is available from here: Creating sprite sheets for Phaser with TexturePacker
Content:
- Creating sprite sheets with TexturePacker
- Loading sprite sheets in Phaser (version 3 or newer)
- Setting pivot points with TexturePacker
- Playing animations from the sprite sheet
- Optimizing start up time and reducing download size
How to run the example:
git clone https://github.com/CodeAndWeb/phaser-sprite-sheet-example.git
cd phaser-sprite-sheet-example
npm install
npm run dev
The demo runs at http://localhost:8080