The mechanics of "Zoomed View" in quest games

Hello all! Often in 2D quests there is a mechanic: the player comes to the object (in this case the table), presses a button - opens “zoomed/scaled view” in which he can climb into the drawer of the table and see something.
What is used to do this? UI canvas? Or a game object on scene, just a sprite? Or maybe a separate scene altogether?

If anyone has a Unity project/scene with games with similar and other mechanics (2D quest games and such) - would be cool to share!

Thanks guys!

Probably just a full screen UI overlay. Would be the most straight forward and streamlined way to do so.

1 Like

Could really be done with any of these methods.

The important thing is to make some kind of function that your game calls, like ShowMap() and DismissMap()

Then you write code related to this view only in those functions so if you need to change how you do it in the future, you only do it in that one location.

1 Like