Space to add a value to the code, e to export the code, i to import a code. UPDATE June 16th, 2020: Added a thumbnail. Added in-project instructions that were appealing to the eye (maybe) UPDATE January 24th, 2022: Removed the color shifting. Younger me thought that looked cool for some reason.
Double-click the list item when it appears (when exporting) Don't put any spaces into the values. It breaks the project (no known workarounds. Let me know if you have one!) FAQ: What is the purpose of this project? Well, it essentially is a script set that lets the computer generate a 'code' that users can copy before they quit a project. The code stores all the data that the user has changed, some examples could be in-game money, amount of keys for a dungeon game, score, position, etc. How do I use it? For this project, the instructions are under Instructions. In your own project, you will want to change how the import and export of the code will work. Instead of the E and I key, you would want your own events to cause it, like when a button is pressed, or when the user does something. Instead of pressing the space bar to add items to the Inputs list, the most efficient wayt to do it would be to have the project add the items when the user wants to export the code. Don't worry, I made it as easy as I could for you to do this. How does it work? This project uses A1Z26 cypher. Essentially all it does is: When exporting a code, the script uses costumes with single letters (a, b, c...), and for each letter in the input, switches to the costume, and outputs a number corresponding to the letter (a=1, b=2...). This repeats until it has encrypted each item from the list, then outputs a single string of letters. For importing, the reverse happens. It switches costumes using numbers, then converts that into a letter by checking the costume's name. After that, each time the script reaches a space, it adds each letter it's previously decrypted to a list as an item, then the process repeats until there are no letters left to decrypt. Costumes are used since they are case-sensitive while lists are not. Spaces are added after each input to separate them, which is why they don't work as part of an input and instead will just count it as two different inputs. !:The code export works, but how do I check the code after it's been imported? The result will be broken down into individual items in a list, and you can just set variables to those items. (Variable1 = item 1 of list) After that, you're good to go.