Hello guys. I've been trying to make a sidescroller game. I tried a lot of different kinds of collision methods, but then I found out that a tile based system would be enough for me.
I'm using Tonypa tutorials. They're in Flash, so I have to change a lot of things.
I'm currently using 32x32 tiles in my game. The collisions just work fine, but if the character's hitbox is bigger than 32x32, all my code seems useless. The character's hitbox gets inside tiles when moving/jumping. I have no idea how to fix that.
I guess this may be a common issue regarding sidescrollers since a lot of them uses tilemaps.
I attached my current project. I'm using Ruby for now, but I intend to write everything in C++ if I can get everything working just fine.
Thanks in advance.