Lives and score tutorial

Lives and score tutorial

oleh CoolioJulio
Laporkan pepijat
Tandakan Permainan
Loading ad...

Lives and score tutorial

Penarafan:
2.3
Tarikh keluaran: May 18, 2009
Kemas kini terakhir: May 18, 2009
Pembangun: CoolioJulio

Tag untuk Lives and score tutorial

Deskripsi

Learn how to program lives and score!

Cara Bermain

Arrow keys to move and space to shoot

Kemas Kini Pembangun

May 18, 2009 12:31pm

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();
}
}
}

Komen

0/1000
C0NSENSUS avatar

C0NSENSUS

Dec. 23, 2013

1
0

wtf game = shit game

migue5356 avatar

migue5356

May. 19, 2009

0
0

?????

Seth1134 avatar

Seth1134

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

bakerej avatar

bakerej

May. 18, 2009

0
0

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