• Advertisement
Sign in to follow this  

Tile-Based Collision (Sort Of) Problem

This topic is 2184 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys this is my first post and I hope I'm posting it in the right place.. because it is sort of theory related
so I'm working on a tile-based game: 16x16 player, 16x16 tiles. the hitbox for the player is 16x16.
I got a problem that I have no idea how to solve, I tried different type of collisions to do it, basically the player's velocity is so high that he just flys above 1-tile holes.. let's say i'm trying to jump into 1 space hole vertically horizontally or whatever and I can't because of my velocity, even if it's very low, 1 pixel off is enough to make him not fit inside the hole, and I have no idea what to do, help?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement