Skip to content

CodeAndWeb/phaser-sprite-sheet-example

Repository files navigation

Phaser 3 sprite sheet optimization tutorial

The complete tutorial is available from here: Creating sprite sheets for Phaser 3 with TexturePacker

Content:

  • Creating sprite sheets with TexturePacker
  • Loading sprite sheets in Phaser
  • Setting pivot points with TexturePacker
  • Playing animations from the sprite sheet
  • Optimizing start up time and reducing download size

How to run the example (yarn):

git clone https://github.com/CodeAndWeb/TexturePacker-Phaser3.git
yarn
yarn start

Or with npm:

git clone https://github.com/CodeAndWeb/TexturePacker-Phaser3.git
npm install
npm start

The demo runs at http://localhost:8080

About

Small example showing how to use TexturePacker with Phaser 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •