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