Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Tilemap Collision for Platformer  (Read 2400 times)

0 Members and 1 Guest are viewing this topic.

Dubmosphere

  • Newbie
  • *
  • Posts: 13
    • View Profile
Tilemap Collision for Platformer
« on: October 01, 2014, 09:57:06 pm »
Here is a little example of my tilebased collision detection for platformers...
I made it because i want to make a platformer.
Tell me how you find it.. if you have to tips to optimize it just say...

I know that if you are too fast and too near at an edge (for example if you are jumping and the top of the player is just touching a tile with his top right / left edge), you will not be stopped by the block but pushed away... this is because my collision response is really nooblike but I'm glad it works as good as that :)

http://download.lima-city.de/hazeler/AABBTiles.zip

« Last Edit: October 01, 2014, 09:59:43 pm by Dubmosphere »