Free roam game

i made some code for movement and am using a tilemap, how do i change the tilemap when i go to a specific tile?


and how do i make it toggleable(when the tilemap changes how do i make the opposite side go back to the first tilemap)

2 Likes

Here are some blocks you might want to consider


Use the on block to detect when a player steps on a transporter tile. Choose the transport tile.
Set the tilemap you want to switch to.
Put your sprite next to the tile that takes you back by finding the right column and row.

You don’t have to use the same transporter tile on both tilemaps. If you want them to look alike then make a duplicate. Using the actual same tile on both tilemaps makes the logic much harder to code and you don’t need to do that.

1 Like

Can you link your game, please? It looks cool!

here is the game so far