User Tag List

Results 1 to 5 of 5

Thread: Please help with Ini object tips

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,148
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Please help with Ini object tips

    I'm trying to finish porting my game which was fully functional for Flash export and windows export and which used the Ini object to save game data like sound settings and achievements.
    For the windows and flash exports I included the Ini file in the same folder as the exported game and set it to find the Ini file at start of frame via: Set current file to: Apppath$ + "GameData.stux"

    Will this work for an HTML5 exported game hosted on a website, or do I need to use a different approach?

    Thanks.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,294
    Mentioned
    152 Post(s)
    Tagged
    2 Thread(s)
    It doesn't seem to work this way in HTML5, not sure why, I'll check what's wrong in my test or in the code when I've more time (unless Fernando or anyone else knows if there is something to do to make it work).

    Another method that works: do the same, but instead of copying the INI file to the destination folder, just add it to the Binary Data tab in the Data Element editor. The file will be loaded from your application data, and will be saved locally when you write data (and will be loaded from the local copy the next time you run the app).

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,148
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Yves View Post
    It doesn't seem to work this way in HTML5, not sure why, I'll check what's wrong in my test or in the code when I've more time (unless Fernando or anyone else knows if there is something to do to make it work).

    Another method that works: do the same, but instead of copying the INI file to the destination folder, just add it to the Binary Data tab in the Data Element editor. The file will be loaded from your application data, and will be saved locally when you write data (and will be loaded from the local copy the next time you run the app).
    Would this method you recommend also work just as well for android and IOS exports?

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,294
    Mentioned
    152 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by BrashMonkey View Post
    Would this method you recommend also work just as well for android and IOS exports?
    Yes, it should work everywhere.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,148
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    OK, this seems to work. thanks.

Similar Threads

  1. Going the External Level route, any advice(object and event limits, any other tips)
    By DinnerSonic in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 14th April 2013, 03:41 PM
  2. I need TIPS for text object to android-extension (Q)
    By SMASHINGmedia in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 12th April 2013, 08:27 AM
  3. uhh, need some tips.
    By Nyro in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 8th February 2011, 03:02 PM
  4. Idea : TrayBallon Tips Object
    By Nico in forum Extension Development
    Replies: 11
    Last Post: 24th September 2006, 10:08 PM
  5. Idée : TrayBallon Tips Object
    By Nico in forum Extension Developers Lobby
    Replies: 1
    Last Post: 1st September 2006, 12:53 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
  •