CCLabelTTF *label =
    [CCLabelTTF labelWithString:@"Hello" fontName:@"Marker Felt" fontSize:64];

// Positioning Label
CGSize size = [[CCDirector sharedDirector] winSize];
label.position = ccp(size.width/2, size.height/2);

// NOTE; Cocos2d의 좌표계는 왼쪽 아래가 0,0 이다!!

// self = CCLayer
[self addChild: label];




Posted by neoarc

블로그 이미지
NeoArc's Development Center - Since 2011/08/07
neoarc

태그목록

공지사항

Yesterday
Today
Total

달력

 « |  » 2025.9
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

최근에 올라온 글

최근에 달린 댓글

글 보관함