Platformer Collision Issues
Posted: Tue Jan 01, 2013 8:39 pm
Hello all,
I am having some issues getting collision to work "flawlessly" like I would prefer it to do. At the moment, in my proof of concept, you can tell that collision handles strange. You can see very tiny jumps and movement that the player is having.
I believe it is a problem with how I am moving the player, in player:update. However I am not perfectly sure. Any advice on how to fix this, or how to optimize my existing code, that would be great.
http://i.imgur.com/28fKG.png
Note* Had to fix a little bug that I got from fiddling too much. I can't fix anything else.
I am having some issues getting collision to work "flawlessly" like I would prefer it to do. At the moment, in my proof of concept, you can tell that collision handles strange. You can see very tiny jumps and movement that the player is having.
I believe it is a problem with how I am moving the player, in player:update. However I am not perfectly sure. Any advice on how to fix this, or how to optimize my existing code, that would be great.
http://i.imgur.com/28fKG.png
Note* Had to fix a little bug that I got from fiddling too much. I can't fix anything else.