User Tag List

Results 1 to 3 of 3

Thread: Load Level after Last Completed (saved) Level

  1. #1
    Diepek
    Guest

    Load Level after Last Completed (saved) Level

    I am busy to make some kind of hidden object game.

    I have a difficult problem.

    The problem is based on the save and load of the progress.

    I want that the player first need to fill in his name at start of the game programm menu, this need to be saved to an user profile.
    Then when the level <x> start and is finished the progress of the last finished completed level <x> must be saved in case the player want to quit the game. And the next time when player plays the game, the game need to start at the next new level, so after the already finished completed level. So player don't have to play the already completed level(s) again.

    For the moment only the level number is enough to save and load. So positions of objects is not necessary.

    Do you know if there is a short and easy way to do this in MMF. Where performance is stable. Can you give me please an example how to do this? I tried the INI tutorial(s) but without any luck.

    Thanks in advance!

  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: Load Level after Last Completed (saved) Level

    I would make a screen where the player can select which level to play again.

    When the player goes to this screen, your game will test which levels is availible. So you need to store this information in the ini file.

    I once made a game like that and I constructed the ini file like this:

    [Level 1]
    Password=nopasswordhere

    [Level 2]
    Password=yeahyoumadeit

    [Level 3]
    Password=ohluckyyou

    ...and so on...

    Every time the player has completed a level, your game creates a new group in the ini file. The group has one item which is the password for that level. This password is only to make sure that the player can not just type in a level in the ini file. He actually have to know the password if he wants to cheat.

    So in your levelcollection screen you test for each level. Like this: If item Password in Group Level 2 = yeahyoumade it, then make this level availible.

    This is one way to do it. You might be creative and figure another way. Or if you want it to automatically jump to the latest level completed, you can do a similar system, but only have one group with two items, level number and password.

    This was written quite fast so if something is unclear, please just ask!

    Edit: I read that you want profiles.. perhaps this is not the best method if there are multiple users, but at least I hope you learn something from it.

  3. #3
    Diepek
    Guest

    Re: Load Level after Last Completed (saved) Level

    Hi Popcorn,

    I will send you an email to your hotmail accunt.

    Thx for your reply.

Similar Threads

  1. Best/easy way to Load completed levels from .Ini ?
    By Matriax in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st March 2013, 06:45 PM
  2. Endless Level?
    By TheUpperHand in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 19th May 2008, 01:25 AM
  3. Level Editor and Load Example for Game_Master
    By Brandon in forum File Archive
    Replies: 1
    Last Post: 17th March 2008, 02:07 PM
  4. Can I load a level *before* the transition?
    By JohnC in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd November 2006, 06:59 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
  •