Array Object Help

For questions about using Classic.

Post » Sun Feb 14, 2010 2:34 am

I can't seem to do a simple operation with the array object. I set a 3 dimensional array (1,2,1) to value 25. Next, I have a condition checking if array (1,2,1) is equal to 25 but it doesn't seem to return true. Is this a bug or am I doing something wrong?

cap: [url:1balp8jz]http://www.louisferina.com/games/array_test.cap[/url:1balp8jz]
In this example, the black sprite should just duplicate randomly around the screen.

Thanks for any help.
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Sun Feb 14, 2010 3:52 am

Looks like a bug to me.

It works with a system compare: http://www.box.net/shared/r7e570ye1b ,but I couldn't get the array compare to work...
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Sun Feb 14, 2010 7:56 am

The value is being set, but yeah array compare value at x,y,z is not working.
In fact its not returning anything true, or false.
Image Image
B
161
S
48
G
91
Posts: 7,359
Reputation: 67,273

Post » Sun Feb 14, 2010 3:36 pm

Thanks for verifying the bug guys. I'll post it to the tracker.
B
77
S
49
G
25
Posts: 346
Reputation: 17,409


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests