I created two CCLayers, one is gamelayer, another is howlayer. The code of gamelayer.m is -(id)init{ if (self = [super init]) {
please look the following picture i want to do this function,when i click some button,it pop out a layer
Here is m开发者_高级运维y problem. I got a classic CCLayer subclass. In the init method, I create a CCMenuItem, and add it to my main layer :
I am editing my question... what should i do if i want to draw a line in image by using CALAyer. i want to draw a line inside the circle(circular image).
I have to add one slider in CCLayer. How to make slider. I went through online and I got there is one object t but which is available in UISlider. If I am implementing it then how will I add it into c
I want to make a giant layer of sprites (well maybe not giant, but about 4 or 9 screens) and want to be able to scroll around by using touch. just trying to plan out an app and any info would h开发者_
How does one display a CCLayer in cocos2d but maki开发者_开发知识库ng it appear as a progress bar in the sense that the layer should appear from the left and extend to the right until it is fully show
I have a CCSprite called sprite that is a child of a CCLayer called movingLayer that is itself a child of the current CCLayer running my game logic, so it is self in this case.movingLayer is moving ba
I want to use in my game effect of perspective view by using few layers, scrolling with different speed. I have three layers. My background is bottom layer, it scrolls very slowly, so it can be in a f
Here is the problem: I\'m working with cocos2D and CCLayers, and I use a UIView to catch movements with a Gesture recognizer for a UIScrollMenu.