Night Shooter
by OP44
Night Shooter
Tags for Night Shooter
Description
A simple Shooter made with help of Shootorial.
How to Play
Arrows/WASD to move, space bar to shoot.
Developer Updates
Added WASD and Menu.
Comments
stickpeople
Dec. 20, 2009
just shootorial but there is no aliens that fall out of the ships. -_-
wertyujh
Dec. 20, 2009
and for right-click shoot:
this is a bit comlpex, but just do this:
put a
var upordown
at the begin.
then in onLoad():
upordown = 0
then a new function:
function onMouseDown()
{
upordown = 1
}
and another
function onMouseUp()
{
upordown = 0
}
then you have this code for shooting missiles:
if( Key.isDown(Key.SPACE) && shootLimiter > 8)
make this
if(upordown == 1 && shootLimiter > 8)
there you have a automatic gun triggerd if you have your richt-mouse button down!
wertyujh
Dec. 20, 2009
2/5, with wasd keys 3/5, for wasd keys go to http://www.kongregate.com/games/pproductions/simplehelp-as2-using-all-keyboard-keys.
maybe you could control the ship with the mouse, then don't pout any keyboard movement code at all but just put at the start : startDrag(this,true) in you onload unction of the ship class
Glassybubbles1
Dec. 20, 2009
nice for a shootorial but in the long run the sfx are not very good and qutie annoying at times
but for a first 2/5
Kuchenkiller
Dec. 20, 2009
I won