Skip to content

CodeAndWeb/phaser-sprite-sheet-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phaser sprite sheet optimization tutorial

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

About

Small example showing how to use TexturePacker with Phaser

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •