everywhere i lo开发者_Go百科ok i find code on how to run an animation using file created from zwoptex, but it is using deprecated code. I can\'t find code on how to run the animation using CCSpriteBat
I\'m new to BOX2d and I need to move the body and the sp开发者_如何学JAVArite from the center to the point where there was contact with a low rate, I tried to use a projectile-> SetTransform (b2Vec
i have set 2 bodies, a world with gravity,a tick method with step,and all the bodies are moving just fine,and i can apply forces on them, gravity is also working.
I have a \"ball\" sprite that changes it\'s texture开发者_JAVA技巧 when a certain scenario occurs. I change it\'s texture like this:
I am trying to use makeObjectsPerformSelector instead of using a loop and I can\'t quite get it to work. I have like 20 balls that I\'m trying to add to the screen inside \"init\".
I have a spear like sprite. It rotation is decided by touchesMoved method. whenever the user slides his finger it points towards that touch. This is my method:
I feel stupid asking this question, but I can not find a clear answer anywhere (or much of an answer at all) so I feel I must ask.Is there anyone out there who can explain clearly how the parallaxRati
I have a Cocos2d and Box2D app开发者_开发技巧lication. I have a image bubble.png. I want to draw a chain of bubbles when the user swipes the screen.
I have the following memory leaks in m开发者_运维技巧y code. What does it mean? How can I fix this?
in File.h I have variable are: NSString *Category; in .m and .h I get this error \"Expected identifier or \'(\' \" on this line of code: