Team members: Tim Dufala, Brad Beise, Jigar Gor
Phaser 3 Project Template copied from photonstorm/phaser3-project-template Using Visitor font.
We need Node.js to install and run scripts. Game will be hosted locally via webpack-dev-server.
Run next commands in your terminal:
Command | Description |
---|---|
vim webpack.config.js |
Modify port for your environment. |
npm install |
Install dependencies. |
npm start |
Serves up content via webpack-dev-server Press Ctrl + c to kill http-server process. |
npm run dev |
Runs webpack --watch and serves content, all in the background via forever. Use ./node_modules/forever/bin/forever list to see log files Use tail -f <logfile> in a separate tab to monitor logs. |
npm stop |
Stops webpack processes running in the background via forever. |