Hello friends,
I'm making a little game where you fling astronauts around a solar system. Every time you miss the target with the flung astronaut, I want to show a random rank and name at the top of the screen to show that it's another person being flung next. See image
I have a text file containing all the ranks that I want to choose from, and I have a text file containing all the names that I want to choose from. Each time an astronaut misses I want to choose from those two lists to create another random rank/name combination
The rank file is manageably long, but the names file contain thousands of names.
How do I best achieve this? I have tried to do it using Arrays but I'm genuinely stumped after looking at tutorials.
Any help would be deeply appreciated
Thanks <3