User Tag List

Results 1 to 5 of 5

Thread: Save/Load on multimple frame

  1. #1
    No Products Registered

    Join Date
    Aug 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Save/Load on multimple frame

    I went though a couple of times the "Engine Works: Saving and Loading" tutorial. While it relies on one frame, I've been trying to get a game to load on multiple frames (levels) using an array.

    I'm stuck. My character's position is saved every time it passes by a statue. But it all changes whenever the character is in another frame (level).

    So whenever a player wants to return, say level 3 instead of starting from the beginning, all they do it click on the 'continue' button at the title screen.

    Any suggestions?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Save/Load on multimple frame

    Do you remember to save the array to file?

    Personally I would use the ini object instead. For saving only a few values an array really isn't neccessary. Arrays are more useful when saving 100's of positions

  3. #3
    No Products Registered

    Join Date
    Aug 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Save/Load on multimple frame

    Yes, the array was saved.

  4. #4
    No Products Registered

    Join Date
    Aug 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Save/Load on multimple frame

    Hey thanks, Popcorn. The INI object worked. It drove me nuts the array couldn't save the level the player was on after he quit the game.

    I have one other question to add....Usually when somebody uses an engine in their game it's customary to credit the author or the engine. I'm using the Platform Movement Object in my game. Since it's a 3rd party? extension, is it wise to credit the author of it?

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Save/Load on multimple frame

    I did, for the games where I used it. The need to credit extension writers varies depending on the extension licence, but I tend to do them as a matter of politeness.

Similar Threads

  1. save and load frame bug
    By EasySite in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 31st March 2011, 02:34 PM
  2. Save and Load Frame Position?
    By Wiiman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th January 2011, 01:03 AM
  3. Save / Load Frame Position
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st July 2009, 12:37 PM
  4. Load/Save Frame Example?
    By Zenoff64 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st March 2008, 06:19 PM

Posting Permissions

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