https://github.com/codeandweb/phaser-sprite-sheet-example
Small example showing how to use TexturePacker with Phaser 3
https://github.com/codeandweb/phaser-sprite-sheet-example
Last synced: over 1 year ago
JSON representation
Small example showing how to use TexturePacker with Phaser 3
- Host: GitHub
- URL: https://github.com/codeandweb/phaser-sprite-sheet-example
- Owner: CodeAndWeb
- License: other
- Created: 2018-02-28T15:55:31.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T11:33:38.000Z (over 2 years ago)
- Last Synced: 2025-01-08T02:47:53.581Z (over 1 year ago)
- Language: PLSQL
- Size: 1.59 MB
- Stars: 44
- Watchers: 4
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Phaser 3 sprite sheet optimization tutorial
===========================================
The complete tutorial is available from here: [Creating sprite sheets for Phaser 3 with TexturePacker](https://www.codeandweb.com/texturepacker/tutorials/how-to-create-sprite-sheets-for-phaser3)
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](http://localhost:8080)