A platformer starter for using colyseus and phaser 3 framework. Using @geckos.io/phaser-on-nodejs
running Phaser Headless mode on nodejs.
- derived from lizard-arena example.
- In a terminal, run
npm ci
(to install packages with version defined inpackage-lock.json
) ornpm install
(to also update dependencies) - Either compile all files once, or serve them while watching for changes:
- Run
npm run clean
,npm run build
andnpm start
to run the start up once - Run
npm run serve
to trigger re-compilation on save
- Open http://0.0.0.0:3000/ in you browser tab