I’m developing a platformer prototype and am not yet satisfied with the feel of the movement I’ve gotten for my player character. Clearly controls have to feel great for this type of game!
I’ve been staring at this long enough that I’m starting to confuse myself regarding the best approach.
Does anyone have advice on how to set up great movement for the player in a platformer game? Does anyone know of any great samples that are out there?
It seems best to use player:applyLinearImpulse() for handling jumping.
I’m not getting great overall results for left and right movement. I can’t decide if I should use player:applyForce() or player:setLinearVelocity().
I am using the physics API to be able to take advantage of gravity and collisions.
Do you recommend that I keep everything frictionless and build damping into the movement system (iteratively reducing velocity/force once move input is removed)? Or should I use friction between platform and player to reduce velocity and stop movement once movement input is remvoed?\
Thanks for any tips anyone has
[import]uid: 105707 topic_id: 32183 reply_id: 332183[/import]