Best Method To Check Sprites Not Overlapping Another Sprite

Get help using Construct 2

Post » Tue Jun 10, 2014 10:09 am

Hi All
I've created a 10 random sprite positions when the layout starts.
Whats the best way to check they are not overlapping and if so move them to a free space

Thanks
B
6
S
1
Posts: 18
Reputation: 342

Post » Tue Jun 10, 2014 1:46 pm

You can use a family and the while loop to move around the sprites.

Check the following capx.
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Tue Jun 10, 2014 1:54 pm

Brilliant thanks for both your replys!
B
6
S
1
Posts: 18
Reputation: 342

Post » Tue Jun 10, 2014 10:48 pm

You are welcome!
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649


Return to How do I....?

Who is online

Users browsing this forum: Rudi55, varr and 6 guests