October 9th, 2012, 11:35 AM
Creating A Game In C. Basic Save Question
So, me and a friend of mine want to create a reaaaally basic Text Adventure in C.
The plan is simple, there will be a whole lot of text, dialogues, etc and the player will have to make decisions that will determine the route of the story. We wont have any visuals and it will pretty much look like a PnP RPG, maybe without the luck factor dices provide.
My first question is if there is a way to have the program save the player's progression. If so, what libraries do I need to use and what commands.
Im not sure if what im asking for is achievable, but thanks in advance.
October 9th, 2012, 12:06 PM
October 9th, 2012, 01:22 PM
I only get results for C#, not C... Is there a way to make a small program that will track down the progress of main and be able continue the main from where it ended last time if I execute it?
October 10th, 2012, 12:02 PM
As I see it, it will be better to save the information to a file.
Try have a look at these pages:
October 10th, 2012, 02:06 PM
YES! This is what I was looking for. Ill search deeply into the matter.
Now, I also need a way to roll a dice. I prefer to discover the way by myself but Im fully unaware of possible commands that will give randomized numbers as results. Is there a way to program a roll of a dice in C?
Thanks, once again, in advance.