6 Topics

Member Avatar for
Member Avatar for Bis!

hey everyone! I am working on a project in which i will be using cocos2d for developing a game for android. I am new to cocos2d. Can anyone tell me how to write a simple Hello World app on cocos2d using Eclipse( for Android ). I have already installed Android …

0
123
Member Avatar for Bis!

hey everyone! I am working on a project in which i will be using cocos2d for developing a game fo android. I am new to cocos2d. Can anyone tell me how to write a simple Hello World app on cocos2d using Eclipse( for Android ). I have already installed Android …

0
104
Member Avatar for saisakthi

Hi, I am very much new to cocos2d.. I am developing an application in android using cocos2d.. In that, [code]public class BaseLayer extends CCLayer { ChildLayer cl = new ChildLayer(); this.addChild(cl); } public class ChildLayer extends CCLayer { public ChildLayer() { CCLayer.node(); } . . }[/code] In this, arrowed line …

Member Avatar for saisakthi
0
238
Member Avatar for Rickay

[CODE]int realX = winSize.width + (projectile.contentSize.width/2); float ratio = (float) offY / (float) offX; int realY = (realX * ratio) + projectile.position.y; CGPoint realDest = ccp(realX, realY); [_projectiles addObject:projectile]; projectile.tag = 2; [projectile runAction:[CCSequence actions: [CCMoveTo actionWithDuration:realMoveDuration position:realDest], [CCCallFuncN actionWithTarget:self selector:@selector(spriteMoveFinished:)], nil]];[/CODE] In this simple app, I am trying to …

0
123
Member Avatar for Rickay

[CODE]int realX = winSize.width + (projectile.contentSize.width/2); float ratio = (float) offY / (float) offX; int realY = (realX * ratio) + projectile.position.y; CGPoint realDest = ccp(realX, realY); [_projectiles addObject:projectile]; projectile.tag = 2; [projectile runAction:[CCSequence actions: [CCMoveTo actionWithDuration:realMoveDuration position:realDest], [CCCallFuncN actionWithTarget:self selector:@selector(spriteMoveFinished:)], nil]];[/CODE] In this simple app, I am trying to …

0
124
Member Avatar for chandaboy

Hi, all Any thoughts on why this code runs slow on device but fast on simulator in iphone, I am making a game in cocos2d, and I am moving an object from one place to another , throught CCTouchBegan , CCTouchMoved, CCTouchEneded (ccp function) and after that I take the …

Member Avatar for jwenting
0
147

The End.