I was trying to create a 5x5 two-dimensional array after reading a tutorial http://www.scirra.com/tutorials/307/arrays-for-beginners/page-3. The goal was to display array as a square matrix like:
0 1 2 3 4
5 6 7 8 9
The main thing here was to correctly insert a newline on the beginning of each row. Here are some confusing moments:
1) When I created a compare event I noticed that each new row increased X value, not Y value. The tutorial read the opposite.
2) Array property Width controls maximum X values, not Y as expected according to #1 (the same is for Height controlling max. Y values)
Shouldn't the Width and Height properties be called visa versa as long as X determines Rows (Height) and Y determines columns (Width) ?
Am I missing something in this idea?
Link to .capx sample project http://dl.dropbox.com/s/xyrc8f5ocvybden/ArrayTest.capx
My Scirra Construct2 build is 108.2 (32-bit)