scirra.com/forum/boolean-global-and-local-variables_topic46457.html
Said you would get to it a few months ago, any progress?
Ashley and Tom have a pretty long to-do list, and I see features and requests being added to it daily. It'll probably take awhile. For now, working with 1 and 0 and checking values should still suffice right?
No news yet, we are aware of this, but we still have 50+ items on our todo list, we're working as fast as we can.
Alright... thanks
1 and 0 have the added bonus of toggling in an expression: set X to 1 - X.
Develop games in your browser. Powerful, performant & highly capable.
sqiddster If X = 0, 1 - X is still 1 :P
I think you meant,
X = X - 1
Rory, I said 'toggle' - as in turn 0 to 1 or 1 to 0.
sqiddster I know, I'm saying that Setting X to 1 - X when X is 0 would be that you get 1 - 0, which is still 1.. am I missing something <img src="smileys/smiley3.gif" border="0" align="middle" />
Toggling means when we have 0, we want 1, and when we have 1, we want 0, right?
1 - 0 = 1
1 - 1 = 0
You see what I'm saying?
Ah, I do get it now. Sorry for the confusion man!
I really sucked at the logic behind that <img src="smileys/smiley5.gif" border="0" align="middle" />
Rory hee hee, no problem ;)