User Tag List

Results 1 to 5 of 5

Thread: [Request] Object indexer

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    [Request] Object indexer

    When resizing an application, I came up with this idea. Basically, an object that you will use Index("Object Indexer",0) and that will get you the first Fixed Value of the first object that is assigned one.
    That way, you can run a loop and resize using:
    Index("Object Indexer",LoopIndex("Resize")) = Fixed("RTF") - resize to x1,y1
    Index("Object Indexer",LoopIndex("Resize")) = Fixed("Editbox") - resize to x2,y2.
    This will allow for multiple instances and multiple object types, and best of all, all the objects created have Fixed values so it won't miss any.

    Quote from Looki about this some time ago:
    <Looki> [fixed values are] a transformed memory address combined with an internal object counter...
    <Looki> ((o->roHo.hoCreationId<<16)+o->roHo.hoNumber)
    <Looki> the creation id, shifted 16 bits to the left, plus the "object number", whatever that is
    <Looki> get a pointer to any object in MMF. Doesn't matter which.
    <Looki> then, get the offset of rhObjectList (I can give it to you.. it's just counting the bytes, tedious)
    <Looki> this points to an array
    <Looki> and you can access each object, by passing the fixed value & 0xffff as key

    Thank you!

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Object indexer

    can't you just make a map of each fixed number, and give them an incrementing index?

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Object indexer

    That would require me to create each object individually, and assigning values before the app can even run its content. It's way too inefficent.

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Object indexer

    If you give all the objects a qualifier, the Select Object can choose them by index.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Object indexer

    Quote Originally Posted by SortaCore
    That would require me to create each object individually, and assigning values before the app can even run its content. It's way too inefficent.
    Not quite, you could loop the objects. I think Dynasoft has the answer, anyway.

Similar Threads

  1. [Request] Bag Object or [Proposal] Bag Object v2
    By Master_Maker in forum Extension Development
    Replies: 10
    Last Post: 30th November 2008, 06:32 PM
  2. [request:]ping object? &small change to FTP object
    By DarkSmurf in forum Extension Development
    Replies: 1
    Last Post: 26th September 2007, 09:33 PM
  3. [Request] - Zip Object
    By Nico in forum Extension Development
    Replies: 1
    Last Post: 7th July 2007, 04:21 PM
  4. [Request] BPM object
    By Jsonic in forum Extension Development
    Replies: 8
    Last Post: 20th May 2007, 07:55 AM

Posting Permissions

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