Tagged Questions
The cocos2d tag has no wiki summary.
0
votes
1answer
58 views
Determining the X, Y co-ordinates in sprite sheets
I am new to Android COCOS2D and developing a simple game to start with. I am developing a game for kids in which the kids shall spell out the names of the fruits they select. I have developed the ...
-2
votes
1answer
56 views
Touching on the particular sprite from the spritesheet
I want to click on the particular sprite from the sprite sheet. For instance i have fruits sprite sheet i want to click on the particular fruit.
Thanks,
Jubin Mehta
-2
votes
0answers
80 views
How to create the horizental slide menu in cocos2d android platfrom?
I want to create the horizental slide menu for my game in android cocos2d.
Thanks,
Jubin Mehta
-1
votes
1answer
89 views
How to make Moving road/track for android game?
I am very much new to Android game development. and i have little idea about the canvas and open GL. in one of my requirement i wanted to draw a moving road/track(Jazzy). how should i start. please ...
-1
votes
1answer
185 views
cocos3d versus Unity for simple IOS 3D games?
Wondering if anyone here happens to have experience in doing some simple 3D based games/apps for IOS, using cocos3d & Unity and could give some pointers....questions I have are:
GENERAL
1) It ...
1
vote
1answer
191 views
Rendering shadow sprites in cocos2d-x
I am writing a 2D game with cocos2d-x. I want to put a "shadow" sprite on a background sprite using the equation:
MAX(0, Cd*1 - Cs*S)
where Cd is the destination color (that is, a background ...
1
vote
2answers
126 views
Cocos2d Composition using CCSpriteBatchNode
I'm making a game in objective-c using cocos2d. I have the following:
@interface Player : CCNode
{
CCSprite *mySprite;
CCSpriteBatchNode *sceneSpriteBatchNode;
//...
}
@property ...
1
vote
1answer
113 views
How can I scroll sprites when swiping using Cocos2D?
I'm adding 3 sprites (layers) to CCParallaxNode:
BGLayer = [CCSprite spriteWithFile:@"Layer.png"];
[_backgroundNode
addChild:BGLayer
z:2
parallaxRatio:layer1Speed
...
1
vote
0answers
64 views
How to Store the game score in android cocos2d
I calculates the score in game project using android cocos2d, in that game after finishing the first level it goes to the next level, so i want to store that first level score and also add next level ...
2
votes
1answer
82 views
Z-order for cocos2d top-down game with sprite batching
I'm trying to understand how to create z-order system like you can see in http://www.realmofthemadgod.com/
Character is above the tree when he is in front of it and vice versa.
Also, I'm planning to ...
0
votes
1answer
60 views
Curve line Cocos2d
i have 50 little images. and all are connect each other. like a line.
is like a mobile data cod. now i want to move the 1 node image so all are move like a cod.
Means all are move like a curve line.
...
0
votes
1answer
86 views
Cocos2d rotating sprite while moving with CCBezierBy
I've done my moving actions which consists of sequences of CCBezierBy. However I would like the sprite to rotate by following the direction of the movement (like an airplane). How sould I do this with ...
0
votes
0answers
98 views
Cocos2d Box2d how to shoot an object inside the screen
I have the code below :
- (id) initWithGame:(mainGame*)game {
if ((self = [super init])) {
isTouchEnabled_ = YES;
self.game = game;
CGSize size = [[CCDirector ...
0
votes
0answers
84 views
How can I place a ProgressBar in Android using Cocos 2d?
I want to place a horizontal progress bar in my Android application and I want to change its progress color. I used the following code, but the progress bar is not being displayed.
CCProgressTimer ...
2
votes
1answer
174 views
Objective-c Cocos2d moving a sprite
I hope someone knows how to do the following with cocos2d:
I want a sprite to move but not in a single line by using
[cocosGuy runAction: [CCMoveTo actionWithDuration:1 position:location]];
What ...