(You'll need the latest version of 3Drad to run - don't ask me to rewrite for previous versions, just donate)
Following on from a thread in the technical section, I've designed a saving/loading system for my game and made it into a little demo for you all to use.
It's a simple demo. You control a first person cam on the default terrain. There are 2 rigidbody rocks which will hurt you on contact and 3 fish your character can collect. These items are merely there to illustrate a means of saving your progress in a game.
There are 3 save slots corresponding with save files "quicksave1.txt","quicksave2.txt" and "quicksave3.txt" which are created and stored in the program directory (so it should work fine with a compiled game too). You quicksave with F1,F2 and F3 and load the corresponding saves with F4,F5 and F6. The save files store:
-Character X-position
-Character Y-position
-Character Z-position
-Health
-Fish 1 status
-Fish 2 status
-Fish 3 status
If no text appears when you hit any of the save/load keys, you may need to give 3drad admin persmissions. (my windows 7 requires this for a file to be created in C:\)
This isn't the final system I'll be using in my game.....
Coming up in V2.0:
-Screen fade on quickload.
-Addition of startup menu with 'load' option.
-Basic encryption of save files (so players can't draw parallels with numbers in savefiles and their progress and edit savefile to cheat)
Following on from a thread in the technical section, I've designed a saving/loading system for my game and made it into a little demo for you all to use.
It's a simple demo. You control a first person cam on the default terrain. There are 2 rigidbody rocks which will hurt you on contact and 3 fish your character can collect. These items are merely there to illustrate a means of saving your progress in a game.
There are 3 save slots corresponding with save files "quicksave1.txt","quicksave2.txt" and "quicksave3.txt" which are created and stored in the program directory (so it should work fine with a compiled game too). You quicksave with F1,F2 and F3 and load the corresponding saves with F4,F5 and F6. The save files store:
-Character X-position
-Character Y-position
-Character Z-position
-Health
-Fish 1 status
-Fish 2 status
-Fish 3 status
If no text appears when you hit any of the save/load keys, you may need to give 3drad admin persmissions. (my windows 7 requires this for a file to be created in C:\)
This isn't the final system I'll be using in my game.....
Coming up in V2.0:
-Screen fade on quickload.
-Addition of startup menu with 'load' option.
-Basic encryption of save files (so players can't draw parallels with numbers in savefiles and their progress and edit savefile to cheat)