cclayer
how to do a function for a sprite or menu in cocos2d?
I created two CCLayers, one is gamelayer, another is howlayer. The code of gamelayer.m is -(id)init{ if (self = [super init]) {[详细]
2023-04-08 08:19 分类:问答how to pop a layer in cocos2d
please look the following picture i want to do this function,when i click some button,it pop out a layer[详细]
2023-04-07 13:10 分类:问答Cocos2D CCMenuItem over an other CCLayer doesn't respond
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 :[详细]
2023-04-06 02:12 分类:问答Draw a line by using CAlayer in image in iphone
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).[详细]
2023-04-05 06:38 分类:问答How to slider in CClayer?
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[详细]
2023-03-27 17:28 分类:问答Sprites in cocos2d Huge Layer
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开发者_[详细]
2023-03-25 13:12 分类:问答Using a CCLayer as a progress bar
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[详细]
2023-03-23 07:18 分类:问答How to transfer a CCSprite from one parent to another?
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[详细]
2023-03-21 06:21 分类:问答Cocos2d: Perspective effect with mutli-layers
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[详细]
2023-03-21 03:35 分类:问答CCSprite not animated anymore as finger does not move on top UIView
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.[详细]
2023-03-13 20:09 分类:问答