Night Shooter
开发者 OP44
添加到主屏幕,快捷访问
安装此游戏
点击分享按钮,然后选择“添加到主屏幕”以便快速访问此游戏。
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