-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All
I have implemented a drag on a sprite object as follows..
-(BOOL)ccTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch * touch = [touches anyObject];
CGPoint location = [[Director sharedDirector] convertCoordinate: [touch locationInView:touch.view]];
[diskSprite setPosition:ccp(location…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am new to Cocos2d. I have taken a look at the documentation at it looks pretty simple compared to what you need to do using basic Iphone classes such as UIAnimation etc.
I want to move a Sprite (eg. Bird, Plane or Car) around the center of a circle around its circumference, smoothly so that even…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hey,
I am new to iPhone development. I am using cocos2d 0.99.2 templates with xcode. Is it possible for me to make changes to these templates, like removing comments or adding some code?
>>> More
-
as seen on Game Development
- Search for 'Game Development'
Background :
From http://code.google.com/p/cocos2d-iphone/issues/detail?id=173
Scenes/Nodes doesn't support the CocosNodeOpacity protocol.
From http://playsnackgames.com/blog/2011/09/cocos2d-tutorial-creating-a-reusable-pause-layer/
Cocos2d offers a simple method to pause and resume itself, but…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I'm now working with two guys for making our first pc indie game and we decide to use cocos2d+pybox2d ( yeah , 2d python game :) ). We decide this based on what i seen in cocos2d iphone games , but i don't get very clear if cocos2d-iphone is just a porting with just a little more features or is far…
>>> More