User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 23 of 23

Thread: Saving and Loading Automatically

  1. #21
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Have you tried save/load frame position from the storyboard object?

  2. #22
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ChrisBurrows -- It's not as hard as you think. I have an 8 player chess game with a three-dimensional array. X position is player, Y position is piece, and Z position is attribute (there are 7). Plus I have a "dummy" line in the array for certain global values that need to be saved. Basically, every value that needs to be saved in the game is encoded in the array. Then you just use the save array and load array commands. That's for the "local" version of the game. For the internet version I use an array but then use the "Get" object and php to save to a mysql database on a remote server.

    Of course, for this to work the game needs to be built from the ground up based on the array itself. It might well be daunting trying to draft an example of it.

  3. #23
    Clicker Multimedia Fusion 2 Developer
    stillhawk's Avatar
    Join Date
    Jun 2007
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would try the save/load frame position as suggested by Francois. At the end of the frame, you can save the frame for the player like this:
    Save frame position to Apppath$+gsCurrentPlayer+Str$(frame)+".fra"
    All you need to do is use a global string to store the player's name.

    At the the start of the frame, just Load frame position Apppath$+gsCurrentPlayer+Str$(frame)+".fra"
    You save and load every frame like this. When the player starts again, just make sure your scripting sends the player to the last frame played.

    Let me know if you need more help.

    stillhawk

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. iOS Saving and Loading
    By Coopman86 in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 22nd February 2012, 08:39 AM
  2. Saving and Loading on iOS
    By Bruto in forum iOS Export Module Version 2.0
    Replies: 15
    Last Post: 17th May 2011, 09:38 AM
  3. Saving and loading
    By FlyingDeath in forum The Games Factory 2 - Technical Support
    Replies: 0
    Last Post: 4th August 2008, 04:16 AM
  4. saving and loading
    By bunnyonion in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 30th July 2008, 08:49 PM
  5. Saving/Loading
    By ToffeeandPebbles in forum The Games Factory 2 - Technical Support
    Replies: 10
    Last Post: 24th July 2007, 05:41 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
  •