I plan to implement a random name generator in my game. So far I'm thinking about saving all names to a text file, reading them in the game and putting them in an array.
I can't think of anything better, but I fear it may take too long to load in case the list is long. (I've never worked much with files)
On a sidenote, is there a list of english names and surnames anywhere that I can download, in a nice formatted way for easy reading in the game?
Thanks.
I can't think of anything better, but I fear it may take too long to load in case the list is long. (I've never worked much with files)
On a sidenote, is there a list of english names and surnames anywhere that I can download, in a nice formatted way for easy reading in the game?
Thanks.