User input (name) into String?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vaplos
:warning: Old Version Published before Godot 3 was released.

I would like to create a game. How do I get user-input and save it to a String?? Can’t find a solution in the net :confused:

:bust_in_silhouette: Reply From: volzhs

You can use LineEdit for getting user input.
And see below links for saving something.

https://forum.godotengine.org/8473/what-am-i-doing-wrong-savegame

https://forum.godotengine.org/6491/read-%26-write

https://forum.godotengine.org/6285/how-to-write-to-user-directory-in-android

https://forum.godotengine.org/5102/saving-in-android

https://forum.godotengine.org/2277/how-to-save-and-load-an-array-of-dictionaries-to-a-file

https://forum.godotengine.org/604/save-data-android-platforms-help

https://forum.godotengine.org/315/saving-loading-files-there-any-build-file-parsing-can-use-how

That answer is worth bookmarking :'D

Zylann | 2016-11-19 03:40