Please!!! Help me to understand Arrays with my .capx

Get help using Construct 2

Post » Sun Jul 26, 2015 2:21 am

blackhornet wrote:No. You want to index Y directly, to specify the correct column. Y=0 is your shape name, Y=1 is the count, Y=2 is (I made this up) colour, Y=3 is some other number. If you are trying to search in X for your shape, you only use "For each X element" to generate CurX values. CurY will not be set. CurY would only be set if you use "For each XY element", but that won't help you at all here. You are only searching in X for the name, to get the correct X value. Once you have X (stored in CurX), you can address any of those shape's data columns directly.

Image


thanks for this good explanation, now i understand even more the arrays!
B
9
S
3
Posts: 142
Reputation: 1,108

Post » Mon Jul 27, 2015 5:31 pm

hi

this video might help you as well https://www.youtube.com/watch?v=ZPG1t-gZfds
it is made by english Acorn :)

hope it helps you
B
10
S
2
Posts: 18
Reputation: 669

Previous

Return to How do I....?

Who is online

Users browsing this forum: Clark Thy Lord and 1 guest