Groups | Blog | Home
all groups > flash actionscript > december 2005 >

flash actionscript : making a score counter



orisma
12/18/2005 5:26:48 PM
hi,
i am making a game, so far this is what i have done
http://orisma.net/multimedia/ship1.swf i want to make a score counter so that
when the green man is killed the counter increases by 1 each time.
If anyone could put me in the right direction it would be much appreciated.

Thanks

orisma
kglad
12/18/2005 6:14:13 PM
if your using a key listener to move the ship, you should change to a loop or
you'll be stuck with that delay.

initialize a variable representing hits to zero and increment it every time an
invader is hit. display the variable in your textfield.
AddThis Social Bookmark Button