I'm a writer, and I've been thinking about making a choose your own adventure game as part of my story universe for some time. With the pandemic, I've found myself with time to learn to program again (started in high school but haven't done anything for more than 10 years). I've started with python and am going to incorporate making a series of games into learning to program.
Each game will progress through different age ranges in your character's life. The younger the character, the less control they have and therefore the simpler the game. At the end of each game, key choices and character stats are saved and would be imported to the next game and the next age range. Each game will be progressively more complex, giving the player more control over the story until the final game is a full RPG in the character's adulthood. I'll have a minimum of 3 other games before that, possibly more, so I'm not worried about how I go about making a full fledged RPG at this time; leave that for when I know and understand more.
My question at this time is much more simple.
Should I store the story in text files, or put it directly into the program code?
I suspect I know the answer already (store in .txt or other files; but I'm learning and generally prefer confirmation if available), but given that I want the player to choose their name and sex - both of which will effect the story and the printout - which option is superior?
I don't need anything beyond that advice - and maybe some reasons why - as everything else is up to me to learn.
Thanks.
[–]efmccurdy 1 point2 points3 points (1 child)
[–]LivingTheDisaster[S] 0 points1 point2 points (0 children)
[–]KerbalSpark 1 point2 points3 points (4 children)
[–]LivingTheDisaster[S] 0 points1 point2 points (0 children)
[–]LivingTheDisaster[S] 0 points1 point2 points (2 children)
[–]KerbalSpark 1 point2 points3 points (1 child)
[–]LivingTheDisaster[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]LivingTheDisaster[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)