Erratic bouncing behavior

Get help using Construct 2

Post » Sat May 04, 2013 7:10 pm

I have a pusher object which is a solid box sprite with bullet and solid behaviors. The player is just a single box sprite with platform behavior applied to it.

The problem is that when the pusher object runs into the player, it causes the player to jump randomly in addition to being pushed which breaks the players ability to jump since they aren't on the floor half the time.

Here is a very simple example capx to demonstrate what I mean:
Random Jump Capx

I tried removing solid behavior and manually handling the push through checking for collisions/overlapping but this breaks the ability for the player to jump on top of the bullet. I could go through the trouble of trying to create multiple invisible collision boxes for the sides of the object, but given that I have a lot of differently shaped bullets, this is really more heavyweight than I would like.

Anyone have a simple solution for this?

Thanks,
-- cacotigon
B
30
S
6
G
8
Posts: 232
Reputation: 6,119

Return to How do I....?

Who is online

Users browsing this forum: Rezzon71, tarek2 and 24 guests