How can I perform 2D side-scroller collision checks in a tile-based map?
- by bill
I am trying to create a game where you have a player that can move horizontally and jump. It's kind of like Mario but it isn't a side scroller. I'm using a 2D array to implement a tile map.
My problem is that I don't understand how to check for collisions using this implementation. After spending about two weeks thinking about it, I've got two…