PDA

View Full Version : Help


jam1801
11-19-2007, 09:01 AM
i've been told by friends that this is a really good web site to get help

I'm making a game, and now faced by a problem

i need a script which will do the following:

the car hits into the border of either the stage or the parked cars in a car park, which will in turn trigger a window to be displayed informing the user that they have lost the game, followed by one simple button that would allow the user to play the game again

please help anyone

rrh
11-19-2007, 04:09 PM
Possible approaches to look into:

hitTest()
Or just test the _x and _y values of your car to see if they are outside of the safe area.
If you don't know how, learn how to use an "if" statement.