How can I go through a two-dimensional array diagonal ?

Get help using Construct 2

Post » Wed Feb 03, 2016 1:42 am

example:
for(int i = 0; i < array.Length; ++i)
....print(array[i,i]);
B
14
S
2
Posts: 71
Reputation: 786

Post » Wed Feb 03, 2016 2:08 am

ImageImageImage
B
71
S
22
G
272
Posts: 3,822
Reputation: 150,287


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 22 guests