Hello, I'm making my first game, and it's 95% complete. I'm just having some issues with global objects.
For the record, I made some global counters and it works fine.
Here's what I want:
The Table of Contents page displays an image, supposedly of the player character, and this is the only time you see what you look like in the entire game. You can change your gender, skin color from dark or light, and sexuality from gay or straight (I'm parodying a friend who says that its incredibly important to give customizable options in any game, even my impossibly simple one.)
To replicate this, I made four global objects; white_male, white_female, black_male, and black_female. They just sit on top of each other and when the player clicks the customization buttons the proper object becomes visible while the others turn invisible. (i.e. "If the player clicks the 'Male' button and white_female is visible, make white_female invisible and white_male visible. Repeat 4 times for each permutation). The sexuality buttons do nothing because you can't see that on a person's face.
(I also provided an Edit Box for you to type your name into, but I can't find any way to 'freeze' what you type so after you hit the 'Done' button it stops being editable. I tried messing around with 'become read-only' but it didn't help. Tried to use a Microsoft Forms 2.0 Text Box that displayed whatever was in the Edit Box, didn't work either. Help with that would be nice too.)
However, whenever the player leaves the screen and comes back to it, it forgets the changes the player made; so when you return to this screen it defaults back to "they are all invisible until you click a button." How do I make the player's chosen name and appearance remain even when the player switches slides?