i have attached a 2d racing game flash file. The problem i’m having, as i’m quite new to flash is this:
when the car collects an item it is removed, via hitTest and _visable="" functions.
What i can’t manage is that when [size=4][color=red]any[/color] [/size]of the bad food, e.g. crisps, chocolate, cola is ‘collected’ i need a message to appear which say’s
“bad food collected, start again”
then the game should start over.
If [color=red]***[size=5]all[/size]*** [/color]the good food, e.g. apple, fruit bowl etc is collected i need a message which say’s
"You win, all the good food has been collected.
Can anyone help me with this and give me any guidance please.
thanks