Simple game written using Phaser 3 and Typescript. Main aim is to fall with the ball as long as you can.
To build the game, run npm install in project root and then
gulpfor one-time production build with minifying and obfuscatinggulp watchfor continuous watching for changes (useful for development)
To launch the game, open created dist/index.html.
Build process is poorly configured, so after adding new file to src your need to restart gulp.
bundle- creates uglified and obfuscatedbundle.jsfile indistdirectory from all.tsfiles insrccopy-html- copies all.htmlfiles fromsrctodistcopy-css- copies all.cssfiles fromsrctodistcopy-assets- copiesassetsfolder fromsrctodistcopy-other- copies.png,.xml,.ico,.svg,.webmanifestfiles fromsrctodist(favicon files)copy-all- runscopy-html,copy-css,copy-assetsandcopy-otherat oncewatch- runscopy-allonce and then looks for changes in.tsfiles. On detection runs bundling, but without uglifying and obfuscating. Needs breaking with keyboard interrupt to stop.default- runscopy-allandbundle