Hi
I am trying to write something with blocks sliding. I have a grid full of cubes created with an array; example:
for x = 1 to 10
for y = 1 to 10
array(x,y) = createcube
position, set colour, set alpha, scale etc.
next
next
However, I am not entirely sure what the array actually contains... for instance, if I click on a cube, how do I get that cube's properties? For instance, colour, and column or row information? Is this something I should be using types for? Sorry about the vague and confusing post, I am newish to Blitz3D and am very confused with types and arrays. Thanks!
I am trying to write something with blocks sliding. I have a grid full of cubes created with an array; example:
for x = 1 to 10
for y = 1 to 10
array(x,y) = createcube
position, set colour, set alpha, scale etc.
next
next
However, I am not entirely sure what the array actually contains... for instance, if I click on a cube, how do I get that cube's properties? For instance, colour, and column or row information? Is this something I should be using types for? Sorry about the vague and confusing post, I am newish to Blitz3D and am very confused with types and arrays. Thanks!