Skip to content

js13kGames/polar-defender

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polar Defender

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.

An entry for js13kgames. I've wanted to do something with polar coordinates since working on the ABC 2013-14 ashes catches game, so here's a little radial shooter for a bit of fun.

Development

This project uses Gulp.

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 No

There 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.