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
80
S
52
G
40
Posts: 370
Reputation: 25,330

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 ImageImage
B
169
S
50
G
169
Posts: 8,286
Reputation: 108,216

Post » Sun Feb 14, 2010 3:36 pm

Thanks for verifying the bug guys. I'll post it to the tracker.
B
80
S
52
G
40
Posts: 370
Reputation: 25,330


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests