User Tag List

Results 1 to 5 of 5

Thread: Auto (Or manual for that matter) Saving Feature

  1. #1
    Clicker 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)

    Join Date
    Jun 2015
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Auto (Or manual for that matter) Saving Feature

    I'm creating a 25-level simple platformer and want it to save your progress so when you exit out of the game and come back to it you don't have to start from level one. I've scoured the internet but can't find a simple way to save progress in a Clickteam Fusion game. Does anyone know how to do this?

    (Also I am new to Clickteam so please assume I know absolutely nothing about anything.)

  2. #2
    Clicker Fusion 2.5 (Steam)

    Join Date
    Aug 2014
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I personally use arrays to store all sorts of data, including progress. You can have the array objects save data to and load data from files.

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Auto (Or manual for that matter) Saving Feature

    You can use the INI object to save data externally. Add the INI object to your game.

    The INI object is a text file that follows this format:

    [Group Name]
    Item Name 1 = X
    Item Name 2 = X

    You create group names. Within these group names you set item names. The item names correspond with text or a value that you can set. For example this INI file could be for an RPG game to save the items in your inventory:

    [Inventory]
    Item Slot 1 = Sword
    Item Slot 2 = Key

    When you recall the group titled "Inventory" and the item name "Item Slot 2", the game would return the string "Key".


    You can use this simple save data feature to record the level that you left off from. So when you quit the game (application is ended condition) you can set a group and item name to [Save] and "Current Level". Then record the number of the frame in which you left off.

    When you load the game at the start of the frame you can recall the INI file and retrieve the "Current Level" item. Then jump to frame = frame number that was saved in the INI file. You can also save other information in different groups.

    There's an INI tutorial on clickteams tutorial webpage. You could also encrypt the file or embed it into your app so other people can't mess with it and cheat. Hope that helps.

  4. #4
    Clicker 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)

    Join Date
    Jun 2015
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, I have a decent picture, but I'm still a tad lost. Is there a way to use INI files to save player scores or counters? Because that's really what I need.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform 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)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,109
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Yes you can, if you'd like to use INI, do the tutorial that Sumo mentioned.

Similar Threads

  1. Does mmf2.5 have any auto save feature?
    By ratty in forum Fusion 2.5
    Replies: 14
    Last Post: 9th March 2017, 07:11 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. Feature Request - Edit/Auto-Size Image Templates
    By Thudo in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 20th March 2009, 07:48 PM
  4. Implementing auto update feature.
    By somebody in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 13th April 2007, 01:31 PM
  5. Install Creator - Auto Launch feature not found
    By chwood01 in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 3rd April 2007, 07:58 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •