You can download cocos2d for iPhone v0.8.2-beta from here:
http://cocos2d-iphone.googlecode.com/files/cocos2d-iphone-0.8.2-beta.tar.gz
cocos2d v0.8.2-beta is SVN revision 1397
You can find the v0.8.2-beta documentation here:
To understand how fast cocos2d v0.8.2-beta is, please see the performance tests:
New ease actions were added:
Full example:
Issue #534
FontLabel is a subclass of UILabel that let's you load any TTF (True Type Font) file.
Since cocos2d v0.8.2 you can use load your custom .ttf font using the Label class. Example:
// simple API Label *label = [Label labelWithString:@"hello world" fontName:@"Paint Boy" fontSize:24]; // more complex API Label *label2 = [Label labelWithString:@"hello world" dimensions:CGSizeMake(480,50) alignment:UITextAlignmentLeft fontName:@"Paint Boy" fontSize:32];
Full example:
Issue #522
A new PageTurnTransition was added. It simulates the movement of turning a page. You can turn the page forward or backwards.
Full example:
Improvements:
BitmapFontAtlas should render without problems any kind of fonts
Issue #494
Improvements:
A new template that includes cocos2d + box2d was added. To use it, just do:
$ cd cocos2d-iphone $ . ./install_template.sh
Improvements:
Issue #528
Improvements:
| CocosNode New API |
|---|
-(CGRect) boundingBox |
Improvements:
Director#endRGBA 8888. Before it was RGB 565.| Director New API |
|---|
+(BOOL) setDirectorType:(ccDirectorType) |
-(CGPoint) convertToGL:(CGPoint) |
-(CGPoint) convertToUI:(CGPoint) |
| Director Deprecated API |
+(void) useFastDirector |
-(CGPoint) convertCoordinate:(CGPoint) |
Compatibility issues with version 0.8.1
| Deprecated API | New API |
|---|---|
-(CGPoint) Director#convertCoordinate:(CGPoint) | -(CGPoint) Director#convertToGL:(CGPoint) |
-(void) Director#useFastDirector | -(BOOL) Director#setDirectorType:(CCDirectorTypeMainLoop) |
The following files were added to cocos2d:
The following files were removed from cocos2d:
Full changelog: CHANGELOG
version 0.8.2 - XX-MMM-2009