Hi,
I want to create an easy to manage solution for a problem like this:
I randomize a number between 1-10
if 1: create an object at (x1,y1)
if 1: create one object at (x1,y1) and anoter object at (x2,y2)
and so on...
I was thinking of an array of arrays or of a json file that stores arrays of x,y coordinates
{
"arr1": [[x1,y1]]
"arr2": [[x1,y1], [x2,y2]]
}
if so
What is the best way here?
in the case above, arr2.1.1 will return x1?
TNX