How do I prevent objects from spawning on other objects

Get help using Construct 2

Post » Tue Sep 30, 2014 7:54 pm

Ok I have a question.
I set some objects to spawn in random positions on the screen, but there is a problem.
Sometimes some of them spawn on top of each other (because they spawn at a random location,and sometimes that random location is on top of another object)
Can I make them spawn in random positions, but prevent them from spawning on top of other objects?
I appreciate your response and help.
B
4
Posts: 10
Reputation: 220

Post » Tue Sep 30, 2014 7:58 pm

Please,post a capx....
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Tue Sep 30, 2014 8:35 pm

I had this problem some time ago, this is how I solved it.
You do not have the required permissions to view the files attached to this post.
B
74
S
28
G
17
Posts: 256
Reputation: 15,125


Return to How do I....?

Who is online

Users browsing this forum: evillair, Yahoo [Bot] and 7 guests