User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: [beta] Structured Data Object (create tree structures with data)

  1. #1
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post [beta] Structured Data Object (create tree structures with data)

    This object allows you to create tree structures with data (named strings and numbers) at each point in the tree.

    The object maintains a bunch of nodes, where each node contains:
    • A constant, unique ID
    • Named references to other nodes
    • Named integers
    • Named floats
    • Named strings
    You navigate to individual nodes and view/modify them, similar to selecting peers and channels in Lacewing. Because the design allows for recursive structures, iteration and saving/loading is by ID.

    Latest beta version always available here: http://www.LB-Stuff.com/MMF2/Extensi...cturedData.zip
    GitHub: https://github.com/LB-Stuff/StructuredData-Object

    I'd like input on the design and terminology as well as bug reports.

    Enjoy!
    Working as fast as I can on Fusion 3

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like a fantastic extension!

    The ability to have nodes with references to other nodes sounds great and should allow some nice complex data structures.

    Will give it a go.

  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)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,760
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    I assumed Format object would be capable of this...

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think there needs to be an expression to get the number of nodes. Otherwise I can't really see a good way of generating node IDs.

    Also, can you have loops among nodes? i.e. non-tree structured graphs?

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Phi View Post
    I assumed Format object would be capable of this...
    Format Object is for saving and loading simple file formats. Its support for nesting is only for the creation of formats.
    Quote Originally Posted by netninja View Post
    I think there needs to be an expression to get the number of nodes. Otherwise I can't really see a good way of generating node IDs.
    Node IDs are generated for you. Expressions to get the number of node references/integers/floats/strings will be in the next version since you refer to everything by its name.
    Quote Originally Posted by netninja View Post
    Also, can you have loops among nodes? i.e. non-tree structured graphs?
    Yes, that was the other goal of this object. This feature works already, it is just not obvious how to do it. I will make an obvious way to do it in the next version
    Working as fast as I can on Fusion 3

  6. #6
    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)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,760
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Okay, I have a plan for a program using this , but the hiccup is how to display the tree...

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am adding iterators as we type
    Working as fast as I can on Fusion 3

  8. #8
    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)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,760
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    I mean working out the positions and sizes of the data boxes. There's got to be some formula like the one MS PowerPoint uses...

  9. #9
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The Calculate Text Rect object?
    Working as fast as I can on Fusion 3

  10. #10
    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)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,760
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    That'll help a bit actually, but how is the child position calculated with regards to the parent node? What if the child node grows wider?
    I'd be happy to see a demonstration as you don't seem to see the issues that I see.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Ho do I Create a directory and access data from it?
    By PunchyBog in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 31st October 2013, 06:58 PM
  2. Create INI file in Application data folder?
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 20th December 2012, 08:37 AM
  3. Data Elements with Build 255 Beta 1
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 3rd September 2012, 11:35 AM
  4. Beta 17: Data Elements
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 29th March 2011, 04:11 PM
  5. using binary data at data elements
    By Chokito in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th August 2008, 06:22 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
  •