can someone please show me how to make a understandable hit test involving five cars...
and post the FLA doc here so i can have a look, the tutorials in FLASHKIT are not wat i want.
i want it so the cars cant hit each other and if they do they bounce back...
I got an example done. Its a rough as they come but it does the job. There wasn't alot of coding for the hitTest part, but I put in some boundry stuff aswell which racked up the amount of lines. I'm gonna try and smoothen it out a little, until then though, heres what I came up with.
Several different coloured balls are floating inside a box which acts as a boundry. They all float off in their own directions. If one of the balls hits another, they reverse direction.
I`m going to see if I can make the reversal a little smoother though.
See what you can do to decrease the number of code lines of you want.
actually i have come accross another problem......... instead of having the balls move on their own
how do i make them be conrolled by the userlike a car, using the arrows