开发者

IPhone-Cocos2d: How to make a CCLayer that reflects another CCLayer

how can i create a new layer, that represents another layer i already have on the screen, just in a different position&scale?

开发者_Go百科

Imagin it something like a minimap, that represents the current map the player is in, just that it is smaller, and appears on the edge of the screen and much smaller.


Someone answered my post on the cocos2d forums.
it can be done using the CCRenderTexture class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜