There are 3 different bad guys. You can only kill the ghost with a kick, and the others with a dart (at this point).
Things to do: Need to set an outcome for the new ninja move (the zip - can kill bad guys), and go through sounds and make sure they have the correct volume and are appropriate for the "time period". Need to come up with a better way to deal with the URL context issue than a stupid JS redirect (maybe using full path linking as opposed to relative linking?). Cleaning up the interface a little wouldn't hurt, as well as streamlining this code before minifacation.
Changes for 0.2.1 - 03JUL2015
Fixed post death ninja animation stacking and movement
Locked keyboard / touch events so that the the game must be running and the ninja alive to fire
Began cleaning up the interface a little
Reduced timeout for score set to 1500
Removed old un-used JS from alpha 0.0.1
Removed un-used HTML asset pre-loads
Optimized images. Saved a little more than 15KBs!
Added JS redirect to deal with the way AWS S3 deals with errors (error page inherits the error's context, not the error page's context, making relative linking to resources impossible)
Changes for 0.2.0
Removed all special code for iOS. I just can't get conditional statements to play well with sounds. May need to move to createJS / web audio post beta
Changed touch control font to Arial to make it easier to read on small screens
Added zip to left & right action for ninja, along with sound and new artwork
Changes for 0.1.2.3
Game sounds: changed game over, added kick, added main loop, reduced volume for bad guy death
Trying to make some sounds play based on direct user input for iOS and other touch based interfaces - test phase so some are in place while others are not
Changes for 0.1.2.2
Reduced file sizes for sounds and increased browser support by changing from WAV to MP3
Pre-loaded all sound files using fileVarName.preload = "auto"
Changes for 0.1.2.1:
Preloading audio. Probability a bad idea, but I'm going to give it a try.
Changes for 0.1.2:
Added sounds (!!!!!) and a start up screen.
Fixes for 0.1.1:
Added toggle for developer notes
Background color of .night-sky changed from 29225c to 453a9c. Number of stars reduced in stars.png.
Incorrect setting for face orientation after ninja death if ninja died facing left.
Fixed bad guy starting point to properly set at 525px
Fixed the positioning of ninja when throwing dart left - also moved width reset values from function call to inside of function
Reduced the size of the Play Again image and resized the Home Page image