For the client, Phaser is included in the code (js/phaser.min.js
). You will need npm to install the Node.js packages required for the server. To run the server, you'll need to have Node.js installed.
Clone the repository. Inside the newly created directory, run npm install
to install the Node.js packages listed in package.json
. Then run node app.js
to start the server. The server will listen to connections on port 3000
; you can change that behaviour by editing the code. You can access the app by navigating to http://localhost:3000/.
- I've taken the basical example found on GITHUB here
- I've found the free character animation on https://gumroad.com/mnrart really interesting for a basic animation so i started to use it
- itch.io (https://reneromain.itch.io/githubgameoff2017) when you follow the link in the repo description
- heroku version (https://githubgameoff2017.herokuapp.com/) is also available to see the difference between the deployments.
- glitch (https://githubgameoff2017.glitch.me/)