Meet Koko! Your average girl with the power to make a barrier around her and absorb bullet's energy when it hits the barrier. She can also use the adsorbed energy to fire back at the enemies.
Button | Description |
---|---|
Space | Start / Play Again |
Arrow Keys | Movement |
z | Barrier |
x | Pew |
Click here to see docs.
gulp watch
- Watch files for changes.
- Shows lint errors and builds on change.
gulp lint
- Shows lint errors.
gulp jsLintNoConcat
- Shows JS lint errors without minifying and concatenating code.
gulp build
- Shows HTML, CSS and JS lint errors.
- Build will fail if there are any JS lint errors.
- Minifies the code and images from
src
directory. - Concat files after minification.
- Puts the output files in
build
directory. - Zips
build
directory and puts the zip inzip
directory. - Generates docs to
build/docs/
.
This game was originally developed as a prototype for Js13kGames.
Js13kGames is a JavaScript coding competition for HTML5 Game Developers. The fun part of the competition is the file size limit set to 13 kilobytes.
So make sure the zip size is below 13 kilobytes. The gulp build
command will show warning when zip size exceeds 13 kilobytes.
Install Node.js and git then run the following commands:
git clone https://github.com/FR0ST1N/Pew-Pew.git
cd Pew-Pew
npm install
npx gulp build
- Open
build/index.html
and play. - Zipped game can be found in
zip
directory.
- Fork the repo.
- Create a branch (use
develop
as parent). - Make changes.
- Submit a pull request.
Open an issue if you want to discuss something and check for lint errors before making a pull request.
Follow Google JavaScript Style Guide.
See CHANGELOG.md.
- All Code is licensed under GPL-3.0-or-later.
- Images are licensed under CC-BY-SA-4.0.