我正在考虑使用Cocas2D做一些有趣的动画,并希望在相机的实时预览视图之上绘制。这甚至可能吗?
答案 0 :(得分:0)
GamePlayLayer
:中打开选项很简单
GamePlayLayer* gamePlayLayer = [GamePlayLayer node];
controller = [[CCNodeController controller] retain];
controller.isOverlayingDeviceCamera = YES;
[controller runSceneOnNode: gamePlayLayer];