How do I Especific Random positions?

Get help using Construct 2

Post » Sun Apr 30, 2017 12:27 pm

Position parts in random positions but not overlapping.
The pieces that are dragged is that I can not put them in random order and at the same distance from both the screen and each other.

I'm using the google translator so sorry for mistakes. :D
Posts: 6
Reputation: 296

Post » Mon May 01, 2017 1:33 am

You can use custom movement behaviour to make sure no objects are overlapping.

Custom movement has "push out" of object which you may find helpful as a simple way to stop overlap.

A harder (but better way) to do it will be to check for overlap at offset when creating your objects. If it's too close to another object then it can try a new random position to see if it's okay or needs to be moved again.

Hopefully this helps a little bit.

Tired of crappy file hosts that are crappy? Get DROPBOX -
Posts: 3,032
Reputation: 30,999

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 72 guests