WASD to move the red hit box, arrows to move the view centre, press or hold space bar to centre the camera, q and e to change the size of the hit box, click on tiles to switch between solid and empty. Hold N and G at the same time to reset the map.
First off, the blocks are monochrome because I don't feel like texturing them at the moment, and also because the visual style is nice now that the hitbox is a red square as such. I didn't use any "touching" blocks, neither of the sprite -> sprite kind nor the colour kind. (This is mainly because I need the engine to work even when off screen) This was a spelunky inspired project, but then when I finished making this awesome tile based collisions thing, I found that it was so fun and clean that I uploaded it. There are a couple of flaws, however they relate to events which don't happen in spelunky, so I can just cauterize them when I actually use this engine. This is based off the old favourite, friction marble, my customizable bouncy ball, (also based off the friction marble) and the completely mathematical hitboxes of my bat thing from 1.4 Finally, it is a bit low performance if it is rendering every tick, however if it had proper 32 bit graphics then it wouldn't be laggier, I have deliberately optimized it for this, cuz I'm cool.