User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: A way to load the whole INI at once and read from memory?

  1. #11
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid 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)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    Well zero is still a valid value for the array to store, a page full of zero values is no less valid than all ones, or any combination of the two. As such there would be no reason for the array to view this as a command to redimension the array.

    May I ask how this is causing you a problem? Perhaps I can suggest how to overcome it

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Part of the data improtant to the set up of the level is the length of the level itself, which should be related directly to the size of the array. I'm creating a game with a level editor in it, so the player can decide the length of a level, or edit a level, therebye changing its length... I dont want "tag-along" garbage data at the end of a level if it had been longer and the player decides to cut it short.....I'll have to settle with using the first "cel" in the array to store the length of the level, give it a max length, then just set any values that might exast after that to zero...

    This will do, but is a bit sloppy and wasteful... Man, I wish Ini++ worked with all the exporters....sigh

  3. #13
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid 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)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    I realise it is not a perfect solution, but consider using a second array file to store that data. It won't add a lot in terms of file overhead and you can store much more data of a different type than a level data grid would normally hold, so it is quite a natural fit to have a second array.

    I don't know about junk data handling in the arrays, I'll enquire whether there's any internal efficiency routines to clean things up in any way and get back to you

  4. #14
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    One solution I use for resetting the array to a default size is to destroy it and then recreate it when you are about to populate it.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Memory Game : Pick'Memory
    By CrystalNoir in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 14th March 2012, 08:58 PM
  2. Read-Only Edit Box isn't really READ-ONLY
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 6th December 2011, 02:48 AM
  3. Memory Object - Additional Memory Types
    By Cudmuffin in forum Extension Development
    Replies: 0
    Last Post: 22nd November 2011, 11:43 AM
  4. Memory Object - Deallocate Memory??
    By LB in forum Extension Development
    Replies: 1
    Last Post: 1st June 2011, 10:26 PM
  5. Slow gradual memory leak...please read.
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd December 2009, 10:34 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
  •