0 votes

Hey! I would like to make it so that the user has his own "account" in my game. The scheme is as follows:

  1. The user enters his nickname in the TextEdit field
  2. (optional) clicks a button to save the nickname
  3. The nickname is saved.

Everything is fine, but how, when the button is pressed, to save, for example, the user's nickname to a text file so that the nickname is displayed the next time the scene is launched? I know, quite difficult, but I will be very grateful to you if you can give me an answer in the form of a code!

Godot version 3.3.1
in Engine by (44 points)

Please log in or register to answer this question.

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.