User Tag List

Results 1 to 5 of 5

Thread: (Request) Array Object with more added features.

  1. #1
    Clicker Fusion 2.5iOS Export Module
    lootercuster's Avatar
    Join Date
    Jan 2015
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb (Request) Array Object with more added features.

    Hi, I was wondering if someone can add more features to the array object such as: Adding rows, deleting rows, inserting rows, and swapping rows. I'm currently stuck on my project because of the limited capabilities of the array object where you can only read and write to the array. I think that everyone will benefit from this extension because it allows you to do more things with it such as board games, better saving systems, inventories, etc. If it will be difficult to develop this extension, I am willing to pay, thank you.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    929
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    as far as i can tell the capacity is increased automatically, if the x size is 10 you can still write and read from 15 or wherever.
    making a swap is easy, just have a temporary value. and delete row would just be to set the value 0 or string "" ? so i don't know what you are trying to do that the array object can't.

    what would be nice for a new object is a hashmap object, to store values/strings by a string name, similar to the ini object but a lot more efficient.

  3. #3
    Clicker Fusion 2.5iOS Export Module
    lootercuster's Avatar
    Join Date
    Jan 2015
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    By delete row, I mean that you can delete a row and all the rows after it will shift one row down. For inserting, i mean you can insert a row in between two rows and all the rows after will shift one up. Can you tell me how to swap two rows? Is it something like copy row 1 to a temp array row, copy row 2 to row 1, and then copy the temp row to row 2?

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    There are several array-like objects already, try them all out and see if any is more suitable than the standard array object.
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    929
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    For inserting, i mean you can insert a row in between two rows and all the rows after will shift one up
    maybe use the list object? could be done more efficiently, but should do what you want to do!
    and yeah,
    copy row 1 to a temp array row, copy row 2 to row 1, and then copy the temp row to row 2
    that's all

Similar Threads

  1. [Request]Additional features in Frame Editor
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th December 2009, 01:10 AM
  2. [Request] Added features to Ray Casting Object
    By Disthron in forum Extension Development
    Replies: 31
    Last Post: 29th October 2009, 11:01 PM
  3. [Request] Array of array - possible for $$$
    By Blizna in forum Extension Development
    Replies: 9
    Last Post: 29th December 2007, 11:13 PM
  4. [Extension Request] Visible Array
    By Dines in forum Extension Development
    Replies: 2
    Last Post: 28th November 2006, 07:44 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
  •