Quote:
Originally Posted by jackosx
This is probably a really dumb question, but I can't get the sneakyinput joystick to work between layers in cocos2d. I get the error "leftJoystick undeclared" I have retained in my HUD.m layer. Can it even work through different layers? Sorry, I'm really new to all of this.
|
"layers" do you mean header xxxxxx.h and implementation xxxx.m files?
you need to make sure you "@synthesize" the object in the implementation, you can't retain what has not yet been created.