Sign in to follow this  
David Zeek

Tile-Based Collision (Sort Of) Problem

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this