pushed blocks overlap

Get help using Construct 2

Post » Fri Oct 21, 2011 11:09 pm

Hey guys, I'm trying to make a block pushing puzzle, but I'm having some trouble in the form of two related issues.

The first problem is that if the player walks into the block while holding z, the block can be pushed. but if the player is already touching the block and then tries to push it with z, it doesn't move. I'm assuming this is a collision issue.

The second issue is as long as the player is pushing the block, the block can be pushed through a different block so that they overlap. I want it so when a player pushes one block into another, he can't push it any further.

here's the file http://dl.dropbox.com/u/37959012/block%20push%20test.capx
B
3
G
1
Posts: 3
Reputation: 507

Post » Sat Oct 22, 2011 12:48 am

Strange, but for me, the first problem was not a problem - I pressed the player up against the block, then held down Z and I could push the block.

However,you may well have found a bug in your second problem - the game does not recognize the block's collision in your example!

Hmm.

B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Oct 22, 2011 7:50 am

Hmm..I can push the block on the left while up against it, but only if I'm going to the right. It doesn't seem to work with other directions.
B
3
G
1
Posts: 3
Reputation: 507

Post » Sat Oct 22, 2011 1:52 pm

There's a collision bug in r63 which is fixed in the next build. Hopefully that will sort it out.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon Oct 24, 2011 2:00 am

ah, gotcha! Well here's hoping then =)
B
3
G
1
Posts: 3
Reputation: 507


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, randomly and 24 guests