I am making a 2D adventure/rpg game in vb.net. At the moment, the character in the game moves around a game map, and initiates battle with any enemies he comes across.
The problem is that I want the terrain on the battle map to change according to the terrain on the game map. So if the character fights in water, the battle map is in water and if he fights on land, the battle map is on land. The crash collision as I know it works on squares. But the map I am using, like all maps, is not polygonal. Does anyone know how I could make the character detect whether he is on water or land, and the battle map changes accordingly?