I made a tileset for the game, and since I used Godot, I was able to add custom data to each tile type, such that I could detect the type of ground/water the ’lil guy was on.