Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/js13kgames/polar-defender
Polar Defender - a js13kGames 2014 competition entry by @AshKyd.
https://github.com/js13kgames/polar-defender
2014 competition desktop game html5 javascript js13k js13kgames js13kgames2014 mobile optimization the-elements touch
Last synced: 9 days ago
JSON representation
Polar Defender - a js13kGames 2014 competition entry by @AshKyd.
- Host: GitHub
- URL: https://github.com/js13kgames/polar-defender
- Owner: js13kGames
- Fork: true (AshKyd/polar-defense)
- Created: 2014-09-17T11:34:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-14T20:05:55.000Z (over 10 years ago)
- Last Synced: 2024-10-01T07:40:58.197Z (4 months ago)
- Topics: 2014, competition, desktop, game, html5, javascript, js13k, js13kgames, js13kgames2014, mobile, optimization, the-elements, touch
- Homepage: https://js13kgames.com/entries/polar-defender
- Size: 1.09 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Polar Defender](https://raw.githubusercontent.com/AshKyd/polar-defense/master/resources/l.png)
Defend the solar system from an alien invasion on this modern twist on space
invaders.With two game modes four levels and a bunch of aliens to destroy, there's plenty
of fun in this messy space shoot-em-up.* [Install it on the Chrome Web Store](chrome.google.com/webstore/detail/polar-defender/gjoooadmegcpeloepjiebbpecolmfjkm)
* [Like it on js13kgames.com](http://js13kgames.com/entries/polar-defender)An entry for js13kgames. I've wanted to do something with polar coordinates since working on the [ABC 2013-14 ashes catches game](http://www.abc.net.au/news/sport/cricket/ashes-2013-game/), so here's a little radial shooter for a bit of fun.
## Development
This project uses [Gulp](gulpjs.com).
### Prerequisites
There's a couple of rerequisites that I haven't included in the Gulpfile.
* Build the SVG package. `cd src/img;noode encode.js`
* Build the compacted campaign files. `cd src/campaign;node jsonpact.js`You only need to build these when you change the files in the respective dirs.
### Developing
1. `npm install`
2. Run `gulp` to start up a server on localhost.### Building
* `gulp build` builds everything into dist/ and packages Chrome Web Store and
Firefox Marketplace targets into chrome.zip and firefox.zip.## Platform support
The game has been tested and made to work on the major browsers.
Browser |Support | Mobile
-------------------|--------|--------
Chrome | A+ | Yes
Firefox | A+ | Yes
Safari | B | Yes
Android Browser 4+ | B+ | Yes
Internet Explorer | F | NoThere have been reports IE just displays a blank screen, but I haven't got a
Windows machine or the time to debug it. The game should (eventually) work on
IE 9+.Safari on iOS is kinda slow. It's playable but visibly choppy. I'm not sure if
it's slower hardware, browser or both.## js13k
The #js13k build is in a separate "js13k" branch, and includes some last-minute
optimisations to bring it under the required filesize. The branch is provided
as a reference only and is out of sync with master.