Collsion problem with wall

Get help using Construct 2

Post » Thu Jun 08, 2017 12:35 pm

Hello everyone,
my Problem is: in my game the Player can place boxes everywhere to kill enemys and so on. Now i added that the Player can push boxes around. I have an Event:
Box: on collision with Tilemap --> Box: Destroy

So the Problem is that the box get destroyed if you pushed it on a wall (the wall and the box are solid). That is cause of the collision. (i think everyone who can help me knows how the collsion works. With testing if the box is overlapping and so on...) I dont know a solution how to fix this.

A Picture:
Image

A Picture of the important Code:
Image

Thank you a lot
Cryttexx
Last edited by Cryttexx on Sun Jun 11, 2017 1:01 pm, edited 1 time in total.
My Project at this time: robottory-2d-platformer-devlog_t190807



(Sorry for my english. I know it is not the best)
B
12
S
7
G
4
Posts: 102
Reputation: 3,046

Post » Fri Jun 09, 2017 10:12 pm

B
33
S
18
G
27
Posts: 2,431
Reputation: 20,326


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests