Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by aPlouvier

Hi everybody,

I need some help to glue my player to the ground (and slopes).
When he transfers between slopes with different angles there's a moment he's in the air, it's the same when he switches direction on a slope. He ends up in my "falling" state which means he cannot jump (which is a huge gameplay problem ^^) and the sprite changes (which looks like a glitch).
I didn't succeeded by changing gravity, velocity, position and now i just don't know to do....

I'd like something such as Sonic in Sonic 2 when Sonic run he never leaves the ground unless it's a very steep slope.
http://www.youtube.com/watch?v=IMDQtpw-_CY

Thanks for anyone who can help...

1 decade ago by quidmonkey

Increase your game's gravity or the player's gravityFactor. Entities do get jumpy on slopes, so you need a strong force to pull them back down.
Page 1 of 1
« first « previous next › last »