If I understand you correctly, what you need is a way to spawn objects randomly spread on a circle?
If so, this is what I would do:
- Set a number variable to random(360) to get a random angle
- Now, to the more complicated part: Getting the coordinates of the point on the circle using the angle we created before
- Get the X coordinate with this calculation:
[X coordinate of circle center] + cos(angle) * [circleRadius]
- Get the Y coordinate with this calculation:
[Y coordinate of circle center] - sin(angle) * [circleRadius]
This should get you going.
Here is an example .capx, in case you are stuck.