I am working a tile-based platform game which currently uses bounding boxes and overlap checks for collision detection. I find this approach inflexible. I want to have different collision responses depending upon the type of tile.
My new idea is to use 9 points which surround my player object and check which of these points is within the bounds of the tile. One point on each corner, each side and one in the center. Each tile type would use a different set of rules for collision handling.
However each tile type would have to use a complex set of conditional statements for collision testing - perhaps overly complicated. Any guidance?
