sentrywiz
S
sentrywiz
The Question
Is it simpler to make my own save/load system or import one?
Details
Hi all.
I want to make an orpg map. Because everyone has one and I have great ideas too. But I can't do that without a save/load system.
So yesterday I thought to myself. If I were to make my own save/load because I'm inexperienced, I'd make it in this way:
- Save each item/ability/hero into a database of arrays
- Add random code for each item of the database, example "&r4e"
- Add each random code to a string for each item in the inventory, hero class, hero abilities, gold, experience and level
- Then do the whole preload into a text file
- At the start of the game, typing "-load + code" I will look at the substring of characters beyond 5 and will do a tedious check like
from character 6 to 9 will be hero class, from char 10 to 13 will be hero level, from char 14 to 17 will be hero gold etc.
- Save into variables then create a new hero with those items
Also no cheating protection. Users can learn the codes over time and create their own strings to import
But I'm fine with that. Those that want to cheat will find a hole anyway
How far/close am I from an already made save/load?
Do you think I'd be wasting my time making my own?
Is it simpler to make my own save/load system or import one?
Details
Hi all.
I want to make an orpg map. Because everyone has one and I have great ideas too. But I can't do that without a save/load system.
So yesterday I thought to myself. If I were to make my own save/load because I'm inexperienced, I'd make it in this way:
- Save each item/ability/hero into a database of arrays
- Add random code for each item of the database, example "&r4e"
- Add each random code to a string for each item in the inventory, hero class, hero abilities, gold, experience and level
- Then do the whole preload into a text file
- At the start of the game, typing "-load + code" I will look at the substring of characters beyond 5 and will do a tedious check like
from character 6 to 9 will be hero class, from char 10 to 13 will be hero level, from char 14 to 17 will be hero gold etc.
- Save into variables then create a new hero with those items
Also no cheating protection. Users can learn the codes over time and create their own strings to import
But I'm fine with that. Those that want to cheat will find a hole anyway
How far/close am I from an already made save/load?
Do you think I'd be wasting my time making my own?