0 votes

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?

Godot version 3.4.2
in Engine by (29 points)

1 Answer

0 votes

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

by (7,769 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.