Copy / Paste a save (Ini ?) Code ?

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

    I create a editor level for my game with Fusion.

    I would like to create a particular mechanic for my level editor.

    The idea is that when the player has finished his level, he can share it with a copy/paste code and send it to another player on another PC so that he can paste it and find all the data of the level.

    I had seen this mechanic in an old flash game, Mario Brothers 3 Flash. It was a Mario maker where you could completely create a Mario level (before the real Mario Maker lol) and you had access to the code for the new one in text, and you could copy it to send it, or simply to save it . And when you paste the code, it actually loads the level.


    Example here :

    Please login to see this link.

    Please login to see this link.


    Is it possible to do something like this with Fusion? This would be ideal for my project, especially since it is in HTML5.

    I'm trying to explore options like INI file, or tables. But I had trouble seeing how we could do something coherent with this functionality.

    Can you help me ?


    Thanks in advance ^^

  • Hello,

    An INI object would probably not be the best for this, an array would, but it would not be pure text, so it would be hard or impossible to just copy and paste level data.

    So I think using a List object, Edit Object and String Tokenizer might be the best way.

    You store all object data in one line, separating them with a delimiter (e.g "#") then adding it to a list, then copy that list to the clipboard, and then you can paste it again and read each line to create the objects again.

    I made a short little example for you.

    All the objects/extensions are available in the HTML 5 runtime.

  • Bonjour
    Avec l exemple Decal a joute l extension File Save il et compatible htlm5 du la dans gestionnaire.

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

Participate now!

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