Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17078

Magnifying Glass Effect?

$
0
0

@KentuckyFriedKermit wrote:

Hi all,

I was wondering if you could help me figure out how to implement a magnifying glass effect?

Basically, I want be able to zoom in on certain parts of the scene though a magnifying glass, but I want everything outside of the magnifying glass to appear at normal size.

This example shows the effect I'm trying to get https://github.com/RocMax/MagnifyingGlassEffect, but that example only works with single sprites. I want to be able to zoom in on a scene that has multiple moving sprites.

In SMFL I used to create a second view to acheive this kind of result, but I don't know where to start with Cocos2D-X!

Any help would be greatly appreciated smile

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17078

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>