Hey Guys, It's me again with a Cocos2D problem. :-D
I create the main character of my upcoming game as a sublclass of NSObject. This class has a property for the Sprite, Spritesheet and all that stuff. But now I have the following problem.
I want to schedule a method for animating the sprite. That action which should be scheduled every second. But because I'm using a subclass of NSObject to hold all my data, I cannot use [self schedule:@selector(action:) interval:1.0]
. Is there another way? I don't want to use NSTimer, because I then can't you the CCDirector anymore to break the game.
It'd really be helpful if you could help me. :-D
Sandro Meier