2011-08-30 101 views

回答

1

如果你正在寻找提供一个弹出的对话框中底衬,您可以使用CCLayerColor:

CCLayerColor* underlay = [CCLayerColor layerWithColor:ccc4(0, 0, 0, 127)]; 

[self addChild:underlay z:(something less than your button's z)]; 

如果它是一个特定的图像,初始化图像,做上述使用CCSprite第二行。