Hi all! I have a loop that randomly creates 4-6 instances of the same object on the X-axis at the start of the layout. The issue is that they often overlap. I have a condition to delete the overlap, but it's not working for some reason. Would like some help as I've tried few solutions from different threads with no luck. Thanks!
My event sheet atm:
I have a couple of old examples, they spawn object on the entire screen, but you can easily change them to spawn in a line:
howtoconstructdemos.com/spawn-objects-randomly-without-overlapping-2-capx
Develop games in your browser. Powerful, performant & highly capable.
Remove wait action and everthing is good.
I have a couple of old examples, they spawn object on the entire screen, but you can easily change them to spawn in a line: https://howtoconstructdemos.com/spawn-objects-randomly-without-overlapping-2-capx/
https://howtoconstructdemos.com/spawn-objects-randomly-without-overlapping-2-capx/
Your example fixed it. Thank you!
https://i.ibb.co/4Mk7XQY/test.gif