A Phaser 3 Project Template with Webpack, Tilemap, and File Pack. This template was created to illustrate the conecept of having a single Level Class (Extended from the Scene Class) which generates the game level from dynamically loaded tilemaps.
Try the demo!
We need Node.js to install and run scripts.
Tiled needed to make and edit tilemaps.
Littera to make bitmap font.
Leshy Spritetool used to make atlas.
Tile Extruder to extrude tileset and prevent bleed.
Run next commands in your terminal:
Command | Description |
---|---|
npm install |
Install dependencies and launch browser with examples. |
npm run dev |
Perform a quick build without minification. |
npm run build |
Perform a final build with minification. |
npm start |
Launch browser to show the examples. Press Ctrl + c to kill http-server process. |
Based on Project Template by Richard Davey: Phaser 3 Webpack Project Template
and
Generic Platformer and Phaser Bootstrap Project