Collision detection on solid walls in Pygame
Posted: Thu Mar 06, 2014 8:00 pm
I'm making a Mario-ish platformer (indeed, the physics are completely cloned from SMB1) in Python 2.7.5 to teach my mentally disabled sister how platformers work. I'm kinda stumped though. The collision detection seems fine, but the shunting-the-player-out-of-the-block part is kinda broken. I've tried several different things and have ended up with rather messy code. Sorry about that :/
I made an environment similar to Love2D's environment in an attempt to make myself more comfortable.
If any of you are able to help I would very much appreciate it.
I made an environment similar to Love2D's environment in an attempt to make myself more comfortable.
If any of you are able to help I would very much appreciate it.