User Tag List

Results 1 to 4 of 4

Thread: Saving and loading problems

  1. #1
    Clicker iOS Export Module

    Join Date
    Mar 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Saving and loading problems

    Hey, this is my first post on this forum.

    I'm building this zombie invasion game, where you as a player can run around and shot them and try not to let them get to the safe house at the end of the map.

    I'm trying to build a menu so when your cruser is overlapping the meny object it jumps to frame 3.

    so far so good....

    there is a return button in frame 3 that i want to let the player come back to the exactly the same map, same x amout of zombies at the exact same position as before you overlapped the menu button.
    I'm trying to do this by storeing all the positions of the zombies in a array and loading the array when you jump back from meny to frame 2, and recreating the zombies and seting their positions to the ones in the array.

    This how ever is not working.... i'm probly having tunnel vision because i can not see whats wrong... I'm uploading a file here so you guys can see..

    Any help is much ablidged.

    Zombie invasion.mfa

  2. #2
    Clicker iOS Export Module

    Join Date
    Mar 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Updated

    Zombie invasion.mfa

    This is an updated version, still not working thought....

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Saving and loading positioning data ( and other relevant data like, direction, animation sequence, animation frame, health, etc ) from an Array should work.
    ...
    But, I think your way better of implementing a Game Loop.
    Basically what this means is that if the Game Loop stopps running, the game stopps running ( its like a Pause button ).

    So when your cursor is overlapping the Menu Button, you stop the Game Loop ( everything freezes ) and you bring up the Menu ( for example by making a specific Layer vissible )
    When you hit the Return Button from the Menu, you simply resume the Game by starting the Game Loop again and hide the Menu ( by making the Menu Layer invissible )

  4. #4
    Clicker iOS Export Module

    Join Date
    Mar 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx for your reply, it helped and i have built it in a similar way now.

    hehe so far i have thrown away the ide of being able to save during a mission / map.

Similar Threads

  1. 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
  2. Problems with In-game saving and loading
    By Karl in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 23rd June 2010, 10:40 PM
  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
  •