When I have my value set as global, and compare it to whether it equals to 1, the code runs fine! However.. if I drag the value within the group (the group that I use the value in) the code event does not run, almost as-if the value wasn't equal to 1. I've tried this several time, and confirmed this is definitely the thing that's going wrong. Hope to see it fixed!
Also when it's local the description doesn't display.
<img src="http://screensnapr.com/e/j4pjwG.png" border="0" />
<img src="http://screensnapr.com/e/WiAapO.png" border="0" />
Develop games in your browser. Powerful, performant & highly capable.
This really annoyed me, hours I spent trying to find the bug in my game when after all it was this. :[
Local variables reset their values to default every tick - this is by design, like local variables do in programming languages. Only global variables persist their values permanently (again, like programming languages).
I can see local variable descriptions OK here, maybe share your .capx?
i had the same issue where i think i could have some local value that acted as a global for that group, also searched for a while:) so i guess its not the way to go
Also Ashley, You can get the capx here: http://www.scirra.com/forum/very-compact-sidescroll-world-generator-v13_topic46653_page1.html
OK thanks, the disappearing comments issue should be fixed in the next build.