[Help] Backend Saving. Yeah this again.
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [Help] Backend Saving. Yeah this again.

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    5

    [Help] Backend Saving. Yeah this again.

    I'm sure this kind of thing has been asked multiple times but I've yet to find a straight forward answer that just works.

    What I want to achieve is simple. Use some backend script of any kind. I honestly don't care what. And have flash call that script to save and load some data for a game to a .txt file.

    This won't be hosted online or anything like that and I don't want to use sharedobjects since their not permanent enough for my tastes and not easily movable from computer to computer.

    The games just a projector that you download and run. So I want it to function locally.

    So yeah. If anyone has some idea how to simply save some integer's that would be greatly appreciated.

    A piece of example code that actually works, saving and loading a single number would be a miracle at this point for me. The same for a string would be nice too.

    Though I intend to save a heck of alot of numbers for the game. Several thousand probably due to the the way the game works. Being an RPG and all that's intended to have a play time exceeding 100 hours a mass amount of player data is only to be expected.

    Thanks in advance.

  2. #2
    Funkalicious TOdorus's Avatar
    Join Date
    Nov 2006
    Location
    Nijmegen, Netherlands
    Posts
    697
    Sound like levelvalult is exactly what you're looking for. It's a subset of the GamerSafe API. Haven't worked with it yet, but the API looks really featurerich. It was the best option I found when I went scouring for backend solutions.

    https://www.gamersafe.com/download/LevelVaultManual.pdf

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    5
    Seems interesting. I'll have a look around.

    But I'd still vastly prefer a short little backend script of some description to dump data to a txt file or xml or whatever.

  4. #4
    Flash Game Developer mesmerize's Avatar
    Join Date
    Dec 2005
    Location
    United Kingdom, near Leicester.
    Posts
    485
    I assume you want to do it like this because you're assuming that the computer running your application will not have an internet connection, right?

    The quickest and easiest way would of course be the use XML/PHP/MySQL to send/grab the information.

  5. #5
    When you know are. Son of Bryce's Avatar
    Join Date
    Aug 2002
    Location
    Los Angeles
    Posts
    838
    You can create an Air application to load from a local text file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com