Lives and score tutorial

Lives and score tutorial

oleh CoolioJulio
Laporkan bug
Laporkan Game
Loading ad...
Loading ad...

Lives and score tutorial

Rating:
2.3
Dirilis: May 18, 2009
Terakhir diperbarui: May 18, 2009
Pengembang: CoolioJulio

Tag untuk Lives and score tutorial

Deskripsi

Pelajari cara memprogram nyawa dan skor!

Cara Bermain

Tombol panah untuk bergerak dan spasi untuk menembak

Pembaruan dari Developer

May 18, 2009 5:31am

This is the code to add:
var score = 0;
var lives = 3;
this.onEnterFrame = function()
{
this.x += 9;
if (this.
x > 550)
{
this.removeMovieClip();
}
for (i = 0; i < root.nrEnemies; i++)
{
if (this.hitTest(
root[โ€œEnemyโ€ + i]))
{
_root[โ€œEnemyโ€ + i].reset();
_root.score += 10;
this.removeMovieClip();
}
}
}

Komentar

0/1000
C0NSENSUS avatar

C0NSENSUS

Dec. 22, 2013

1
0

wtf game = shit game

migue5356 avatar

migue5356

May. 19, 2009

0
0

?????

deleteduser avatar

deleteduser

May. 18, 2009

0
0

Wow if your going to make a tutorial make it actaully teach something...

Tobi800 avatar

Tobi800

May. 18, 2009

0
0

WTF! this is bullshit

deleteduser avatar

deleteduser

May. 18, 2009

0
0

this is just as much trash as the one you previously posted one. FLAG