Having problem with pushing boxes

Get help using Construct 2

Post » Sat Nov 01, 2014 10:44 am

I want to make a game like push the button.
everything works fine, except when I pust a box toward another box, it's overlapped with another box. I tried using solid behavior, but nothing happened . any ideas?

https://drive.google.com/file/d/0BxpyqZCtkB4cOHVMUlZnNlBTdjA/view?usp=sharing
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
62
S
14
G
2
Posts: 287
Reputation: 6,608

Post » Sat Nov 01, 2014 3:54 pm

I have no idea how to download your capx. Just put it into a single project file.
Also check your collisions outline in the image editor.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Sat Nov 01, 2014 4:40 pm

@TheDom you click the download button? It is in a single file.

That being said, might this be part of the issue?
Untitled.png
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
62
S
19
G
51
Posts: 633
Reputation: 30,826

Post » Sat Nov 01, 2014 6:59 pm

In case you don't understand the picture... :)
The collision bounds are inset so it never detects the collision with other box until is IS overlapping.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370

Post » Sun Nov 02, 2014 12:55 am

Yes. Set the collision to the outer most part of the box. That should resolve your issue.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Sun Nov 02, 2014 3:50 am

oh i see, thank you all! :D
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
62
S
14
G
2
Posts: 287
Reputation: 6,608


Return to How do I....?

Who is online

Users browsing this forum: Unconnected, Yahoo [Bot] and 23 guests