How to create a multiple room effect?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By robertofreemano

Noob -sorry!

Imagine (Atic Atac - 80s game)… player starts in a room. There maybe a door to the east & West. If player exits… goes to another room (or layout).

Trying to imagine how godot would do this.

Thanks,
Roberto

:bust_in_silhouette: Reply From: njamster

You can either …

  • … have one big scene containing the whole dungeon and simply move the camera around
  • … or have each room in its own scene and switch scenes accordingly

Place Area2D-nodes atop of your door-tiles to detect when the player is entering them and adjust the camera / load the next scene accordingly. For a more detailed answer, you’ll have to be more specific with your question as well.