Hey Riq,
if (visible == YES)
really doesn't work for sdk 3.0+ anymore
Just had funny experience with my last project. Everything worked, then I integrated OF and had to change to SDK 3.1.2 and my game started to behave strange. I traced it to this snippet where I constantly check node's visibility with node.visible == YES.
This still works:
if( node.visible )
What was the purpose of changing booleans to bits anyway? Just saving some memory?
Edit: Eh, just saw there is an issue already for this:
http://code.google.com/p/cocos2d-iphone/issues/detail?id=743
Can this issue go as urgent because I am not sure I can find all stuff in my code where I check something against "YES"? And is only visibility affected by this or there are other boolean properties included?