I understand arrays. I understand loops. I understand FOR statements
I do not understand how to implement it in C2!!!
What I have is this.
Array varAvailTowers ( 2, 20 ) { 2 rows of 10 } 0 - 1, 0 - 9
At the beginning of a level I want to loop through the varAvailTowers and fill a box on the screen with the appropriate power-up / tower.
So...
On Beginning of Layout
For ROW = 0 - 9
For COL = 0 - 9
TowerForSlot = varAvailTowers.at(ROW,COL)
CreateObject "TOWERFORSLOT" at (SCREEN COORDINATE FORMULA)
Does that make sense?
I will probably store the SCREEN COORDINATES in another array and grab the coordinates from that based on the ROW, COL....
Help!!!