IMAGE as tilemap
Posted: Sat Mar 30, 2019 8:02 pm
I find rescomp's IMAGE export to be very useful. Basically exports a Tileset + Palette + Map from an image source, taking care of duplicates and flipped tiles. Since it reads from an image source, any tilemap editor that exports an image can be used.
I'm thinking of using IMAGE as some sort of game level, but I was wondering how I can identify the tile ID during collision? Since the map can be optimized, how do I determine if tile in x, y is collidable or not?
I'm thinking of using IMAGE as some sort of game level, but I was wondering how I can identify the tile ID during collision? Since the map can be optimized, how do I determine if tile in x, y is collidable or not?