Im sure someone can answer this one fast. Ok i wondering if having alot of hit.tests on 1 MC will End up slowing down my movie. Lets say for example i have 50 hit.tests with Ball and other random objects. At 48 FPS would this slow down my movie? any info on this topic would be very benfitical
I would suggest putting the FPS at 30…
Now… What type of objects is it hitting? Are they very complex shapes or simple shapes… 50 hitTests seems like a lot… I’d suggest doing this man… Splitting the number of hitTests in between 2 frames instead of having them all play on one frame…
[AS]
frame = 0;
if(frame == 0)
{
//test first 25 hitTests;
frame = 1;
}
else
{
//test last 25 hitTests;
frame = 0;
}
[/AS]
That should speed it up alot…
playamarz
Ahh good idea thanks. Simple yet very effective !
You could split it up further if need be to speed it up… But I think this should help it out enough
playamarz