User Tag List

Results 1 to 2 of 2

Thread: Saving System?

  1. #1
    Thrantus73
    Guest

    Saving System?

    Hi, I've just finished creating a game using Multimedia Fusion 2, but before I can release it first I need to create a save system for the game.

    I know how I want my save system to work, but I need some help in programming it to do so. I've tried two things already so far: using the Save Game Object, and using the File and ".ini" objects together. I haven't found a way to get either of them to work.

    Basically, my game is split up into 44 frames or so, and certain frames (about half of them) are designated as "save rooms." In these "save rooms," under "Start of Frame" the Global Value I is always set to a certain number. Then in the menu screen at the start of the game, the current value of Global Value I will be used to ascertain which room the player last left off in. This means I only want the Save Game Object to remember all the alterable values. For example, let's pretend the player left off in Room C, and in Room C (which is a save room), the Global Value I is set to 2. The game is then automatically saved. Then in the menu screen, after the save file loads, the game will then detect what Global Value I was last set to in the game, and uses it to jump to the frame the player was last in. So if the player quit at Room C and he saved, then when he loads at the starting screen again, the game will recognize that Global Value I was set to 2, therefore he will go back to Room C.

    Sorry for the lengthy description. I don't think .ini files can record Global Values so I stopped with that strategy there. As for the Save Game Object, I can do everything I listed above, but I don't know how to get it to load correctly. Here is a screenshot of my programming:



    However this does not work unfortunately, so can someone help me out with programming the save system of my game correctly? Thanks if anyone can spare their time.


  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    South Africa
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Saving System?

    Hello Thrantus!

    Have you tried to read/write a global value to an ini file one by one?

    If your levels are arranged one after the other, you can have just one event to jump to the correct frame: Jump to frame number <Global Value I> + <Offset>. Offset could perhaps be the frame index of your first level.

    What is your game called?

Similar Threads

  1. saving.
    By TheCrimsonTaco in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 10th May 2012, 09:05 AM
  2. [Request] Auto saving system
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 26th August 2011, 06:10 PM
  3. Saving App
    By Hazzow in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 13th August 2011, 09:01 AM
  4. saving
    By looner in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 10th January 2011, 10:51 PM
  5. Saving System compatible with Flash
    By Oreo in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 22nd July 2010, 05:42 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
  •