Project Legends

Would you like to react to this message? Create an account in a few clicks or log in to continue.

2 posters

    Back End / Saved Games

    prince_david
    prince_david
    Official Programmer
    Official Programmer


    Male Posts : 59
    Join date : 2011-07-24
    Age : 41
    Location : New York

    Back End / Saved Games Empty Back End / Saved Games

    Post by prince_david Wed Jul 27, 2011 2:08 pm

    I have never programmed a game before, and was wondering if you all had ideas or good resources on how to deal with saved games. Will we have any kind of database on the back-end or some kind of encrypted file to save the user's game? I am currently playing Legends 1 and I suppose we can have certain states for where in time the gamer is at, as well as storage for the current inventory, money, critical choices in dialog made in the story, etc.
    omegaprime02
    omegaprime02
    Official Conceptual Developer
    Official Conceptual Developer


    Male Posts : 35
    Join date : 2011-08-06
    Age : 32
    Location : West Colorado... or East Kansas

    Back End / Saved Games Empty Re: Back End / Saved Games

    Post by omegaprime02 Mon Aug 08, 2011 1:32 am

    While working with Torque Game Engine, I created a subroutine in a save point system to constantly update a .txt file, it lagged the game slightly, and had issues when people booted from combat, it was for an alpha build so you could recover from a crash, but I might be able to modify the system to update at check points fairly easily.

    Output example:

    Overworld Location: Quadrant Alpha
    Regional Location: Region 001
    Sub-region: Ruin X
    Floor: 3
    Checkpoint: Beta-Zulu
    Zenny: XXXXXXXX
    Time Played: XXX:XX:XX
    Quests:
    A:C
    B:C
    C:F
    D:T
    E:T
    F:F
    Current Equipment:
    Buster;
    Normal Armor;
    Normal Shoes;
    ect.

    In that kind of format, it's simple, and is relatively easy to create a program that reads it, granted it's not pretty and can be easily modified (Hacked). Add on an algorithmic encryption function to keep hackers away and make it more efficient, and you'd have a robust save function. it's a little heavy on the string function, but it could work...

    While it's not up to me, it's my two cents.

    I might be able to get an output component built in a few hours of work, granted, I don't have any hours for that kind of work anytime soon...
    prince_david
    prince_david
    Official Programmer
    Official Programmer


    Male Posts : 59
    Join date : 2011-07-24
    Age : 41
    Location : New York

    Back End / Saved Games Empty Re: Back End / Saved Games

    Post by prince_david Mon Aug 08, 2011 4:54 pm

    True we could use an encrypted file for the saves, I don't see any harm in that idea.
    omegaprime02
    omegaprime02
    Official Conceptual Developer
    Official Conceptual Developer


    Male Posts : 35
    Join date : 2011-08-06
    Age : 32
    Location : West Colorado... or East Kansas

    Back End / Saved Games Empty Re: Back End / Saved Games

    Post by omegaprime02 Mon Aug 08, 2011 6:46 pm

    Makes it harder for a person to modify it, but on the flip-side, it'll force us to integrate a decryption program into the read function, perhaps a cypher system would work better, flip out one letter for another, then reverse it for the other way around. I know I could build a program for that, it would just take a while...

    Sponsored content


    Back End / Saved Games Empty Re: Back End / Saved Games

    Post by Sponsored content


      Current date/time is Thu Mar 28, 2024 12:19 pm