Every 0,1 seconds:
Create object on (circle.X + cos(random(360) * circle.width/2), circle.Y + sin(random(360) * circle.width/2)];
My wish is that the objects are all created at a random place, within the circle, not overlapping the outside of this circle.
This did not work for me.
Do you have another suggestion?
I think I am looking for a way to spawn objects at an x distance pixels from the middle of a circle.
If I worked with a square, this would have been no problem.
Circles provide more complexity.
I didnt not try with circles, only with squares.
Unfortunately, my math is limited at this point in time.
hundredfold wrote:Hi @Shadowdawnz - it's no problem replying to old posts because the discussion is often useful to someone else who finds the threads much later on.
That is true.