Looking at the attached file, in the "Event - Game" and then the "Explode asteroid section".
The idea is as follows, the asteroid is shot which then explodes into smaller sub asteroids. These sub asteroids are meant to move off in random directions but don't. Instead they move off in a straight line from left to right.
Any ideas as to what I am doing wrong?
Your particles are all spawning on top of each other, which means it triggers your on collision events for them. I rewrote your spawn event to this and it worked fine:
<img src="http://www.infinitepossibilitygames.com/demos/asteroidspawn/asteroidspawn.png" border="0" />
Develop games in your browser. Powerful, performant & highly capable.
Many thanks... :-) I thought it was working before I added the collisions of the particles.... just couldn't work it out :-)
Did you use some special debugging technique or did you just see it?
I looked at the rest of your capx for anything that would alter the direction the particles were moving. When I noticed the collision/bounce event it looked like the most logical possibility.
Chalk it up to having similar things happen while developing.