An 2D array is like an excel document. It is like a rectangle of information. They can be modified easily with the "for each element" condition, for example. You can write a function and let this function store all the information you mentioned in the array.
Thanks, but I know how Arrays work in C2, and it doesn't really help me ... I need a way to edit/store Arrays like an Excel document ... or load the data from an Excel document (or something similar) into an Array.
I am talking about preset values for objects. Let's say that an object has max 10 points/dots, then I will have:
object's name - 1 cell
number of dots - 1 cell
dot's coordinates - 20 cells
sprite/animation's name - 1 cell
sprite's size - 2 cells
continuation - 1 cell
I will need 26 cells only for an object. My game will have at least 30 different objects. That means the Array will be 2D and at least 26x30 (or 30x26), results 780 cells. I need a good way to organize my preset values.
Yes, I will use Arrays in my game, but only to load 1 object at time.
So the question remains: How can I store and load data into Arrays in most efficient way for my "Connect the Dots" game ?