How to make a binocular effect in cocos2d?

I need to make a binocular effect with blurring and scaling inside a custom frame in order to follow an object (sprite) like this

enter image description here

Any ideas how to do this? Thank you very much for your help!

+5
source share
1 answer

Fix the area in which you want to zoom in (for example, binocular ribs), and then zoom in (as I will do this for a clean target c).

If you use cocos2d 2.0, it should work, since CCDirector is a UIViewController, in other versions I do not know. Maybe try to do the same, but you will need some workarounds

0
source

All Articles