Learning how to use Phaser 3 to build an RPG dungeon crawler. Based on tutorial series on Ourcade by Tommy Leung aka @supertommy.
Tools:
Assets credits:
Setup:
yarn add webpack webpack-cli -Dto install webpack.npx webpack-cli initto initialize webpack.yarn add phaserto install phaser.yarn add file-loader -Dto installfile-loaderfor webpack.- Use
file-loaderin webpack.config.js to serve static images.
Use yarn serve to run locally.
Notes:
- For bottom walls add to the wall_above layer on top as a mask to hide objects like the character weapon that exceeds the character physics body box when it extends pass the walls.
TODO:
- change string references to consts.
- Implement restart mechanics.
- Improve speech system.
- Touch controls.
- Add timer.
- Add end state.
- Add local high score.