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
gulp
for one-time production build with minifying and obfuscatinggulp watch
for 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.js
file indist
directory from all.ts
files insrc
copy-html
- copies all.html
files fromsrc
todist
copy-css
- copies all.css
files fromsrc
todist
copy-assets
- copiesassets
folder fromsrc
todist
copy-other
- copies.png
,.xml
,.ico
,.svg
,.webmanifest
files fromsrc
todist
(favicon files)copy-all
- runscopy-html
,copy-css
,copy-assets
andcopy-other
at oncewatch
- runscopy-all
once and then looks for changes in.ts
files. On detection runs bundling, but without uglifying and obfuscating. Needs breaking with keyboard interrupt to stop.default
- runscopy-all
andbundle