User Tag List

Results 1 to 3 of 3

Thread: INI help

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    INI help

    im using ini files fo a saving sysem.
    i have it so that when the player presses the X key while the cursor is over "Load Game" then the Ini object will set one of the global values to an items value.

    it works, but i have to press the key twice in order to get the value. I press the key once, and the value dosnt change but when i press it again it works. Also i cant seem to load different items from the same group onto different global values, as in. I want

    Levels Completed, to be loaded onto Global Variable A, then I want Extra Levels Completed, to be loaded to Global Variable B, i cant quite fighure that one out either, so please, your replies.

  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,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: INI help

    The reason you have to press the key ones is probably due to wrong order of events or actions. In the eventeditor, double click on an action to open the action editor. Here you'll see in what order the actions are executed.

    For your other problem, I'll write the actions for you. The order of the actions have to be exactly like this in order for it to work:

    * onSomeEvent
    - INI: set group to SomeGroup
    - INI: set item to Level Completed
    - Set global value A to value of ini
    - INI: set item to Extra Levels Completed
    - Set global value B to value of ini

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI help

    thanks Popcorn, for the tutorial and this extra help as well, i solved the double key pressing thing by making a "repeat while key is pressed" command. and i changed the order of events and the Global Variables fell into line.

    thank you very much now i can go to bed, its 4:03 AM already!

Posting Permissions

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