/lazerhead

Quick JavaScript/HTML canvas demo game

Primary LanguageJavaScriptOtherNOASSERTION

LAZERHEAD!!!

This is my first canvas game!
 Heavily inspired by Joshua Marinacci's tutorial at OSCON 2013 (http://www.oscon.com/oscon2013/public/schedule/detail/28823)


The premise is simple:
You are a dude with a large lazer for a head and you have avoid
lava balls and large walls to get to the magic door to escape Planet Hades!
You can jump (and jump and jump right now), charge your lazer and fire it!

Controls:
'D' moves you forward
'A' moves you backward
'SPACE' jumps
'J' fires the lazer
'L' charges the lazer

The more powerful your lazer the greater the kickback (and it's even greater in the air)
so becareful not to overcharge or you'll be crushed by lava balls!


Browser:
Since this is a game, for fun, and uses webkitAudioContext the only browsers I'm supporting is Chrome.

Building:
The files are combined and minified with the closure compiler. If you're
only playing the game there's nothing to see here, but if you want to make
changes make sure you run build.sh (and change the location of the 
compiler.jar if necessary, also build.bat for those windows users) to generate the minified js file used by the game.

License:
The game art (ie my crappy sprites) is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported license (https://creativecommons.org/licenses/by-sa/3.0/deed.en_US)
All the code is licensed under The MIT License