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

How to use:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//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;

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 :)


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