IPhone-Cocos2d: How to make a CCLayer that reflects another CCLayer
-
30-09-2019 - |
Question
how can i create a new layer, that represents another layer i already have on the screen, just in a different position&scale?
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.
Solution
Someone answered my post on the cocos2d forums.
it can be done using the CCRenderTexture class.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow