Placing the player properly in overworld?

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

I’m making an RPG-like game with an overworld, but I need this answer. If I have buildings that the player can walk into, how can I switch back to the overworld scene and place the player properly?

:bust_in_silhouette: Reply From: exuin

Look in to singletons. They will store information between scenes, so just put the player’s new position in one.

i know about singletons, i am just wondering how to use them in this way.

MrGenie151 | 2022-02-27 21:01