1 Attachment(s)
[CS3] Score counter in a shooter game
I figured that this question would be too basic for the AS3 section, so here it goes.
Right now, I have a simple shooting game set up. 25 monsters appear on the screen, one after another, until no monsters are left. If you hit one before it disappears, the score increases. If you don't, the score stays the same.
In the actions frame, I placed an empty dynamic text box named score, and set it equal to 0 (declared in the main actions frame). But, seeing as though the monster actions are coded into the library item itself, do I have to declare score, and the score increase there instead?
The file is attached so you see what I'm talking about. Any additional help would be greatly appreciated.
Thanks.