How to create Camera Zones/limit spaces on Camera2D

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

Hello Godot community! Today I have a very important question. I desperately need help with my Godot game.

My game relies on a special version of the Camera2D. Which has something akin to The Legend Of Zelda camera.

Which tweens the Camera2D, but I also want to have it scroll the Camera2D around before hitting a trigger which will most likely be an Area2D or ReferenceRect.

I know what I want to do but I don’t 100% know where to start. Like I know what I’m trying to do what to do which is based off the RoomBasedCamera but that wouldn’t allow me to use a tween transition on it.

I’ve tried to ask it on the other Godot Engine help forum but unfortunately I couldn’t solve my problem