We are making a turn-based tactical RPG for miniRAID instead. Please check miniRAIDs.
Please refer to e.g. https://www.freecodecamp.org/news/how-to-build-a-simple-game-in-the-browser-with-phaser-3-and-typescript-bdc94719135/ for build up the enviorment, phaser and typescript.
I used NPM as the package manager.
Basically, you need to:
git clone --recursive path/to/this/repo.git
or if you forgot the--recursive
, rungit submodule update --init --recursive
inside the root folder to get the submodules inited.npm i
to install dependencies.tsc
to run the typescript compiler. It will keep running and detect any changes, which will trigger a re-compile.- The compiled javascript and html files will be in
bin/
and a HTMLbin/index.html
.
You can view the docs under docs/index.html
.
To generate the docs, first install typedoc
then npx typedoc
under the root folder.
- https://fairy-neko.github.io/miniRAID/bin/ to play the game
- https://fairy-neko.github.io/miniRAID/docs/ for documentations.
- Let MobListener able to listen to MobListeners (e.g. char listen to weapon, team buff listen to all player's weapon)
Let testGirl attack the woodLog with a fireball(which applies a burnt debuff) !