Hello! I am creating a series of games that tie into each other. However, there's a problem: Normally, when you transfer data over, the data MUST have the same database.
A way to circumvent this, I think (correct me if I'm wrong) is to be able to export a save file from a prequel containing the stats of the character and their skills, everything you want from the character, then import it into the sequel.
After that, you're free to continue to next phase of the game with that character.
The caveat with this method is: editing.
While text files are a great way to store information, they are exposed to and prone to tampering. And if your text file has character stats, skills, equip, etc, they can easily edit and change this information to suit their needs.
If your game is an online game, this is really bad. It's a form of cheating, which causes your own delight in your gameplay at the expense of others.
One way to get around this is to password protect your file. But most basic text files cannot be password protected.
You can possibly have the program zip your file, password protect it, then unzip it and read the inner contents, but if a person figures out the password, that's it, your contents are wide open.
A better way to get around this is encrypting the text file. Make the code gibberish upon opening it directly, so that any edits will be rendered null and void. Only the game can encrypt and re-encrypt the file(s).
Which comes down to my plugin request:
Can anyone make a plugin to export and import Encrypted text files?
A way to circumvent this, I think (correct me if I'm wrong) is to be able to export a save file from a prequel containing the stats of the character and their skills, everything you want from the character, then import it into the sequel.
After that, you're free to continue to next phase of the game with that character.
The caveat with this method is: editing.
While text files are a great way to store information, they are exposed to and prone to tampering. And if your text file has character stats, skills, equip, etc, they can easily edit and change this information to suit their needs.
If your game is an online game, this is really bad. It's a form of cheating, which causes your own delight in your gameplay at the expense of others.
One way to get around this is to password protect your file. But most basic text files cannot be password protected.
You can possibly have the program zip your file, password protect it, then unzip it and read the inner contents, but if a person figures out the password, that's it, your contents are wide open.
A better way to get around this is encrypting the text file. Make the code gibberish upon opening it directly, so that any edits will be rendered null and void. Only the game can encrypt and re-encrypt the file(s).
Which comes down to my plugin request:
Can anyone make a plugin to export and import Encrypted text files?