Free "Magnifier" Module: Add a magnifying glass to your app with one line of code

Hey all,

So based on a conversation that started in the Corona Developers Network Slack group, I created a module that adds a “magnifier” object to any Corona app. The object is just a round display object, but it will automatically magnify whatever is beneath it on the Corona stage object. I have only tested it briefly on an iPhone 6S and in the simulator, but so far it works really well.

Anyways, here is a video I captured of a sample project to demo the functionality:

https://www.youtube.com/watch?v=1gxV_-hKxjM

And you can find the code on GitHub: https://github.com/schroederapps/corona-magnifier

Hope some of you find it useful! :slight_smile:

1 Like

Jason,

Thanks for sharing. I will try to find some use for it.

But in any case, it is a fun little tool.

Thank a lot Jason  B) 

This is super helpful. I have some ideas how to use this in children’s games :slight_smile:

geat

Jason,

Thanks for sharing. I will try to find some use for it.

But in any case, it is a fun little tool.

Thank a lot Jason  B) 

This is super helpful. I have some ideas how to use this in children’s games :slight_smile:

geat

Excellent! Just one small issue. You need width and height to be set to 1080/1920 in config.lua. Can’t figure out why that is, but thought I’d post to save others some trouble.