Night Shooter
by OP44
加去主畫面,方便快捷開玩
安裝呢隻遊戲
撳分享掣,再揀「加到主畫面」,就即刻安裝呢隻game,方便快啲入返嚟玩。
Night Shooter
Night Shooter 關聯標籤
簡介
A simple Shooter made with help of Shootorial.
玩法說明
Arrows/WASD to move, space bar to shoot.
開發者更新
Added WASD and Menu.
留言
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