Suggestion: record data type

This forum is currently in read-only mode.
From the Asset Store
Data+ is the best Data Management solution for Construct 3. It contains 4 Addons (Plugin & Behavior).
  • If you need more than a number/a string stored inside a hash table or an array, you have to use multiple arrays/tables. That is quite slow on the machine, and on the coding process.

    Using a record structure where you can hold multiple strings/numbers and add them to an array will solve a lot of future trouble and can take Construct to a whole new level.

    For any serious projects you will need some kind of database, using a record object and an array the problem is somehow solved.

    Thank you.

  • I take it you didn't stumble upon the S plugin yet?

    http://www.scirra.com/forum/viewtopic.php?f=2&t=4791

    Also you could store more information in a single string if you use delimiters. Not saying that it's handy in most situations, just saying...

  • Wow, that is a great add-on.

    Testing it now.

  • You can always use a 2- or 3-dimensional array to store additional data, too.

  • Or use Python data structures. I'm going to do so for my next project.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you need more than a number/a string stored inside a hash table or an array, you have to use multiple arrays/tables. That is quite slow on the machine, and on the coding process.

    Using a record structure where you can hold multiple strings/numbers and add them to an array will solve a lot of future trouble and can take Construct to a whole new level.

    For any serious projects you will need some kind of database, using a record object and an array the problem is somehow solved.

    Thank you.

    I disagree with "For any serious projects" because that's not true. Also, what do you mean you'd need multiple arrays or tables? Arrays can hold as many numbers or strings as you want...

    I don't understand what you want or how you plan to use it...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)