Mastodon Feed: Post

Mastodon Feed

Boosted by brib@bribstodon.xyz ("brib :neofox_floof:​ :Nonbinary: -> EMF 2026"):
oddtail@meow.social ("Alicja") wrote:

EDIT: I have figured it out, thanks to anyone who's commented! <3

I have looked and looked and my brain is basically boiling, and I still haven't found a solution online.

Let's say I have a .txt file that is in my Resources folder and I want to be able to read or write it at runtime and for it to persist after the program is closed.

How do I go about doing this?

Also, how do I convert a txt file to a string? I can't believe it, but I can't seem to find a way to do it.

Thanks in advance.

EDIT: or alternatively, just a String variable in one of the game objects that persists after the program is closed. That's fine too.

#godot