User Tag List

Results 1 to 3 of 3

Thread: How would I save progress values to unlock new worlds?

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export Module
    Emerson3's Avatar
    Join Date
    Apr 2014
    Location
    Lafayette, Louisiana
    Posts
    715
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How would I save progress values to unlock new worlds?

    Hey Clickteam,

    I'm making a simple IOS counting game. It has 3 different worlds with 8 levels in each world. Each level the player will receive stars based on how fast the player completes the level. The player will receive either 1, 2, or 3 stars based on performance. I want these stars to unlock world's 2 and then 3 when the player has collected the amount it takes to unlock the new worlds. Kind of like a Mario game. The levels will be re-playable so the player can get higher stars if they didn't in previous levels.

    Two questions now that I'm typing this out.

    1: How can I save the stars achieved from completed levels?
    2: Let's say a player completes a level, and receives only 1 star and then replays it, and get's 3 stars, I just want to add the newly achieved stars to the star count, how could I do that?

    Thanks Clickers!

  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,335
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Since you have few levels, I would go with an ini called Progress.ini.
    It could look like this:

    [World 1 Level 1]
    Stars=1

    In your game, when the player has completed a level, you first need to check how many stars this playthrough is worth. Then compare that to how many stars are already achieved on the level. You now have an old stored stars value and a new temporary one.
    If the new stars value is higher than the stored one, simply replace the old stars value with the new one.

    After you have implemented this, you can add security measures to the file so that it would be harder to hack, though I wouldn't go into depth with that at this point.

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export Module
    Emerson3's Avatar
    Join Date
    Apr 2014
    Location
    Lafayette, Louisiana
    Posts
    715
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Wonderful Popcorn! Thank you. Seems pretty simple!

    I'll implement this weekend and if I have questions I'll post if you don't mind!

Similar Threads

  1. Save unlock object\score as a rescue in-app?
    By janpier in forum Android Export Module 2.5
    Replies: 0
    Last Post: 12th July 2016, 09:29 PM
  2. Automatically Save all Values into INi?
    By EdibleWare in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd September 2013, 10:31 PM
  3. Save status of entire game (load / save values)
    By DEKE15 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 13th September 2009, 10:17 AM
  4. how to save game progress
    By fazbot in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 6th October 2008, 08:46 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
  •