how do i stop overlapping sprites?

Get help using Construct 2

Post » Fri Sep 08, 2017 8:22 am

Hello people,

I now make a test game with an army of men,
Only the guys overlap each other while they are Idle, how can I make sure they do not overlap?

Thanks in advance :)

English not the best :oops:
(I use google translate, if my sentences are not completely correct then it is because of that)
B
7
S
1
Posts: 90
Reputation: 650

Post » Fri Sep 08, 2017 8:37 am

It depends on a lot of factors and how your project is made.
One simple way could be to add them the "Solid" and "8-direction" behavior.
The 8-direction will "bounce back" from the solid and prevent overlapping.

Nevertheless, if you are using something like pathfinding, it may also result in units never accessing their end target, and other issues like that.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
304
S
123
G
99
Posts: 7,358
Reputation: 73,460

Post » Fri Sep 08, 2017 3:12 pm

Hi Kyatric,

I use 8 direction and pathfinding

I can not figure it out.
(I use google translate, if my sentences are not completely correct then it is because of that)
B
7
S
1
Posts: 90
Reputation: 650


Return to How do I....?

Who is online

Users browsing this forum: mikewalton206, newt and 7 guests