Physics platformer with disapearing block.

Get help using Construct 2

Post » Tue Mar 26, 2013 3:45 pm

Hi guys i am making a physics platformer and have run into a problem.
I followed the instructions in this blog post

http://redlettergames.wordpress.com/2013/03/24/tips-on-mixing-physics-and-platforming/

And it works great but i want blocks that disappear when stepped on but in construct 2 when i disable physics collisions with the platform i want to disapear my character is still able to collide with it.
And when i jump and fall on it again i fall through.

I have the following events.
   Floor | set collisions disabled
   Floor | disable physics collisions with Player

Help would be appreciated.

Kobusvdwalt2013-03-26 16:02:32
B
9
S
2
Posts: 100
Reputation: 1,335

Post » Tue Mar 26, 2013 6:19 pm

Bump.
B
9
S
2
Posts: 100
Reputation: 1,335

Post » Tue Mar 26, 2013 6:22 pm

If you could post your .capx that'd be great (Y)
B
49
S
14
G
3
Posts: 540
Reputation: 5,611

Post » Tue Mar 26, 2013 6:32 pm

@ mr e bear Its too big but i will focus the problem and post a new capx in a bit.
B
9
S
2
Posts: 100
Reputation: 1,335

Post » Tue Mar 26, 2013 7:20 pm

Going in blind an easy solution would be to simply destroy your block sprite after a second of overlapping instead of disabling collisions.
B
49
S
14
G
3
Posts: 540
Reputation: 5,611

Post » Wed Mar 27, 2013 5:43 am

Thanks it works like a charm but i dont understand why it cant work with disabling collisions.
B
9
S
2
Posts: 100
Reputation: 1,335


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests