This demo shows how to create a CCLabel with frame or 3D effect.

How to use:
[cc lang=”objc”] //Label with frame
+ (id) labelWithString:(NSString*)string
fontName:(NSString*)name
fontSize:(CGFloat)size
fontPosition:(CGPoint)pos
fontFramePadding:(int)padding
fontColor:(ccColor3B)fontColor
fontFrameColor:(ccColor3B)fontFrameColor;

//Label with 3D effect
+ (id) labelWithString:(NSString*)string
fontName:(NSString*)name
fontSize:(CGFloat)size
fontPosition:(CGPoint)pos
fontShadeOffset:(int)offset
shadeDirection:(int)direction
fontColor:(ccColor3B)fontColor
fontOffsetColor:(ccColor3B)fontOffsetColor;
[/cc]

To Download Page…

☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆

If you feel all the stuffs in this site helped you a lot and you would buy me a beer 🙂

Or get a game I made 🙂


☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆