How do I compare values in two arrays

Get help using Construct 2

Post » Wed Dec 02, 2015 11:04 am

Hi, I want to check the values between two arrays, specifically does value at array1(0,0) equal the value at array2(0,0). I'm using the arrays to store animation frames of sprites for comparison. I get the info in OK it's just the comparing that's the issue.
Thanks in advance for a solution
B
7
S
2
Posts: 5
Reputation: 487

Post » Wed Dec 02, 2015 11:08 am

Do you mean this?

Array1 compare value at 0,0,0 = Array2.at(0,0,0)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Dec 03, 2015 5:16 am

Thank you LittleStain. So simple I missed it.
B
7
S
2
Posts: 5
Reputation: 487


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests