Search Unity

Little board for a Save/Load Plugin with encryption

Discussion in 'Assets and Asset Store' started by 95KillerZ95, Jun 7, 2011.

  1. 95KillerZ95

    95KillerZ95

    Joined:
    May 27, 2011
    Posts:
    253
    Hi all, I'm been working on a little game, and I've got the need to create a plugin for the saving/loading of informations on files, and I've create a method to write them in a section with the value, all is crypted with an algorithmic and a password.
    The use is very simple:
    (An example)

    Code (csharp):
    1.  
    2. void Update()
    3.     {
    4.         if(Input.GetKeyDown(KeyCode.A))
    5.         {
    6.             obj.position = System.LoadVector3("objPosition");
    7.         }
    8.         if(Input.GetKeyDown(KeyCode.S))
    9.         {
    10.             System.SaveVector3("objPosition",obj.position);
    11.         }
    12.     }
    13.  
    This is the saving/loading plugin :



    All that you need is to set a location (example : C:/MyGameFolder/Save)
    A file name (example : MySaveFile)
    A format (you can choose your personal format for example .asd)
    And a password to encrypt/decrypt the file....
    You can save/load all informations in only one file.
    Now I'd like to know if this plugin might serve to someone and I can publish it in Asset Store. Rember all is encrypted and Decrypted with a password

     
  2. 95KillerZ95

    95KillerZ95

    Joined:
    May 27, 2011
    Posts:
    253
    Please, someone that reply...
     
  3. rhamm1320

    rhamm1320

    Joined:
    Mar 29, 2008
    Posts:
    44
    I would be interested
     
  4. mrbdrm

    mrbdrm

    Joined:
    Mar 22, 2009
    Posts:
    510
    me 2
     
  5. mrbdrm

    mrbdrm

    Joined:
    Mar 22, 2009
    Posts:
    510
    add more than position saving too
     
  6. 95KillerZ95

    95KillerZ95

    Joined:
    May 27, 2011
    Posts:
    253
    Yes,Oh yes, that is obvious, that code is only a test for you, but I've added boolean, int, and other types of variables... so I'm happy that someone likes this.... I'll refine this and than I'll post this on the asset store..