So I’ve been following a bunch of different tutorials and currently I have a player and a map both rendered to the screen. What I’m wondering is how I would be able to switch from one map to another.
I’ve had some trouble finding a definitive answer, but I believe what I would need to do is hard code triggers into the level (say for example a staircase) and put them into the tile coordinates of the staircase, door, etc. tiles and make them do the map switching. But how exactly would something like this work? Or is there a better way?