Auto (Or manual for that matter) Saving Feature

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • 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.)

  • 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.

    Custom A* Pathfinding in MMF2: Please login to see this link.
    Random Tile World Generation: Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!