| Upcoming Games and DLC |
Upcoming Games and DLCIt's been while since we've made any posts, but thats only because we've been hard at work behind the scenes trying to update our site and get some new projects started. Read more... |
| RotateAround Action |
When dealing with cocos2d-iphone, one may find that they want to perform an action that is not within the toolkit. Luckily cocos allows you to easily write your own and it's a good thing because we found the need to arbitrarily rotate a CocosNode around a given point by a given number of degrees. We are calling this action RotateAround, and it will take a duration, a point to rotate around, and the number of degrees to rotate by. Our interface code merely looks like this: @interface RotateAround : IntervalAction
{
CGPoint _centerPt;
float _startAngle;
float _radius;
float _spanAngle;
}
+(id) actionWithDuration:(ccTime)duration
centerPoint:(CGPoint)cpt
spanAngle:(float)spanAngle;
-(id) initWithDuration:(ccTime)duration
centerPoint:(CGPoint)cpt
spanAngle:(float)spanAngle;
@end
Read more...
|
|
cocos2d for iPhone is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on the cocos2d design: it uses the same concepts, but instead of using python it uses objective-c. click here to go to the cocos2d project page |
|
|
|
![]()
|
Chipmunk is a fast and lightweight 2D rigid body physics library that includes an Objective-C wrapper for the Chipmunk Physics Library as well as some sample code from shipping iPhone Apps click here to go to the chipmunk physics project page |