User Tag List

Results 1 to 8 of 8

Thread: How to make save game function for flash?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,256
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    How to make save game function for flash?

    How do you make a save game function in your game if you plan to transfer it to flash and upload it to a web portal? Where does it store the save games when you play a game on the internet?

    I noticed there was a tutorial on save games but when i opened it, it contained the blowfish object and i have seen that object is not compitable with flash so maybe it wont work?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make save game function for flash?

    I've actually been wondering this as well. I don't own the Flash Exporter, but I've heard Flash runs in a sandbox environment, so does that make it impossible to save games?

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make save game function for flash?

    You can save using the Ini object, which is compatible with flash.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make save game function for flash?

    I can confirm, as my current game uses an ini file to save. This works 100% fine .

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make save game function for flash?

    I think it saves as ini to your pc (like a cookie).

    However i guess if you goto another computer it wont load the save?

  6. #6
    Clicker Fusion 2.5SWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2006
    Location
    Indiana, USA
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make save game function for flash?

    That is correct, each computer will have it's own individual save.

    If the user for whatever reason clears their "flash cookies" the data will be gone. However, flash cookies are stored in a different location then internet cookies, so most end users don't know where to look, much less where to delete them.

    If you want something like an account based system independant of computers, from what I understand you'll probably need a server and login system of some kind. I have no experience setting one up, so hopefully some other members with more experience can help explain how this would be set up. It requires a physical server somewhere though, which means it's not free to set up(from my limited understanding of the system).

    Most flash games use the flash cookie method. It's simple, to the point, and for arcade games that users will probably revisit on the same home or work PC, flash cookies work just fine. Most users probably will understand if their flash saved game is associated with a certain PC.

    Hope this helps,

    300happy

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,256
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make save game function for flash?

    So its the Ini object to go for then.. Is there any tutorial on how to do this? I know there is some info on the ini object in the tutorial section but not on actual saving as far as i know?

    If you want to say put up your game on FGL for sponsors to a internet portal and want the player to be able to save their game on the portal this would work?

  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make save game function for flash?

    Quote Originally Posted by 300happy
    If you want something like an account based system independant of computers, from what I understand you'll probably need a server and login system of some kind. I have no experience setting one up, so hopefully some other members with more experience can help explain how this would be set up. It requires a physical server somewhere though, which means it's not free to set up(from my limited understanding of the system).
    Not to steal the thread, but I'd like to mention that there are plenty of free webhosts that allow you to use php and mySQL which works for all my saving/loading needs. It's quite simple after you have a basic understanding of how to make user accounts.

Similar Threads

  1. How do I save data on a flash game?
    By NastyMan in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 25th April 2013, 06:09 PM
  2. Is there any way to make the save data from the flash export not as part of a cookie?
    By redpandagames in forum SWF/Flash Export Module Version 2.0
    Replies: 14
    Last Post: 20th October 2012, 04:51 PM
  3. Save Game State in Flash and iOS
    By brett in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 5th September 2012, 09:52 PM
  4. How to make save system for flash game?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd September 2011, 07:47 PM
  5. How can I make a game where you can save and load?
    By Cjimmy99 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 10th July 2011, 03:00 AM

Posting Permissions

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