dmcb / spectrum-slider

1 stars 0 forks source link

Sliding into a block and jumping destroys movement. #13

Closed dmcb closed 12 years ago

dmcb commented 12 years ago

I've noticed if you slide into a new colour that has a brick at your player's location, one of three things will happen. You'll be pushed above the brick, pushed below the brick, or get stuck between a rock and a hard place, and in that scenario, if you jump, your player can no longer move or jump again.

It's reproducible when you move over to where the right red block is on the ground level (but while on another colour), and slide into red. The player gets pushed into the ground a bit and though you can still move and slide (and when you slide to a colour where the brick is no longer, you go back into proper position). But if you jump while pushed into the ground a bit, you can no longer move or jump again, even if you switch colours.

savethejets commented 12 years ago

Odd I'm not seeing this. I'm on an older build from yesterday. I'll try updating and retest.

savethejets commented 12 years ago

Yup I was on 71520bf0774 and I couldn't reproduce it, but I'm on Head and it's happening.

savethejets commented 12 years ago

If you jump into a wall it sets isOnGround to true and then lets you buzz around in the sky for as long as you keep pressing jump.

Fak

savethejets commented 12 years ago

My Double Jumping fix fixes this

d7068916c653e949d4d9d9557ae8a26e7cf41303