GSI

'Menu'에 해당되는 글 1건

  1. 2009.08.25 [cocos2d] Menu - 사용법

image = [MenuItemImage itemFromNormalImage:@"image1.png" selectedImage:@"image2.png" target:self selector:@selector(step1:)];
Menu *menu = [Menu menuWithItems:image, nil];
image.position = cpv( -135, -185);
[self addChild: menu z:2];
Posted by gsi
: