I've been occuring a strange behaviour in r50.
I have two layouts in my app.
I tried to fill an array with values from a layout, and use those values in the other layout.
From the second layer, it seemed the array was empty (only returning 0) whereas from the first layout, it was obvious the array was filled. (the array contained different values).
I had created/added my array to the first layout.
I've tried a bunch of stuff around, questionning my code, etc...
In the end, I resolved to put the filling code in the same layout/eventsheet that the code which gets infos from the array. And there, either filling and getting values did not work.
Last solution, adding a new array to my second layout (containing the fill and get code) and all work as intended.
So it seems the array only applies to the layout it is added to.
There's no "global" option for the arrays and no way to tell which is their layout of of belonging.
Have I missed something, is it intended behavior ?
Is this already had been spotted and resolved in upcoming r51 ?
I was kind of hoping r51 would be out when I'd wake up today (^^).
Anyway, I thought I would post it and wait for Ash explanation.
On another note, I have been intensivly using C2 during this week end for the Ludum Dare (I'm still on for the "Jam" entry) and I must say that it has been gladely stable. I've only occured a few bugs (already known and that I should have avoided) and in the whole, it it a nicely reliable tool.
I love the fact that globals var now are just "name_of_var" no more tedious Global["my_var"] or whatever method of CC.
It is just a blast.