+Every 100 ticks
--> global variable 'TempX' = random (playfeild.width)
global variable 'TempY' = random (playfeild.height)
++System: (inverted) /= "Baddie" at TempX+cos(360)*distance, TempY+sin(360)*distance
--->System: create "Baddie" at TempX,TempY
I think this is right, but I am still getting overlap.
I think its because of the angle being 360. Maybe its only checking that one angle at the distance chosen relative to "Baddie" instead of the entire radius.
Would I need to do a loop that checks the object 360 degrees around? That would be completely inefficient though. That 360 checks * the number of objects. <img src="smileys/smiley5.gif" border="0" align="middle" />
Do I also need a for each "baddie"?