Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Zaheer |
Please tell me how to add any scene but for visible for first time only for user i am suffering from a week for that
Thank you
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Zaheer |
Please tell me how to add any scene but for visible for first time only for user i am suffering from a week for that
Thank you
Reply From: | leo-pnt |
You can write the content of a variable like var first_time: boolean
to a file
first_time
has value true
false
for the variablefirst_time
to false
https://docs.godotengine.org/en/stable/classes/class_file.html
There are multiple ways of writing and reading to a file in Godot. I let you Google that (Json, cfg, binary, etc…)