Still not 100% but getting there –
Click the image to watch the video.
Okay well it looks like I got standard tile-based collision working in my little test program, this is not the Flash Fox map itself, it is a test program so I can figure out how to do sloped tiles. I know just what I’m going to do but I still have to figure out how to determine which x coordinate to use for when I’m doing a downward collision. It’s obvious when you’re moving left or right you essentially figure out the overlap of the sprite to the tile on the left or right side, but we still need to figure out overlap if we’re going down and on top of a sloped tile.