Hello everybody, i was wondering if anybody would be able to help me.
I am creating a webcam game where balls from the sky and it is your idea to hit the ball using your hands. I have implemented a script to generate more than 1 ball but for some reason the hit detection is not working. No matter what i have tried i have not managed to be able to include a script that generates more balls based from one movie clip whilst retaining the hit detection. I thought i had this cracked months ago but it appears i was wrong.
I have implemented various different methods of generating falling balls which is fine as i have the balls populating the screen but it is the hit detection i am having issues with. No matter what i do i just cannot get it to work. I am convinced it is something minor that needs changing but i just cannot figure it out at all!
I have included the fla in this post.
‘1 ball working’ demonstrates a technique i used to generate multiple balls. Code is placed on the ball_mc movie clip itself and code is also placed within the actions layer under hit detection setup. This generates balls but again only the first main ball works.
If anybody could help me figure out why only 1 ball is being hit it would be muchly appreciated
Cheers
Cheers