Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Free "Magnifier" Module: Add a magnifying glass to your app with one line of code
Started by schroederapps Feb 15 2019 02:47 PM

3 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

schroederapps

[GLOBAL: userInfoPane.html]
schroederapps
  • Contributor

  • 464 posts
  • Corona SDK

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:

 

 

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

 

Hope some of you find it useful! :)


  • Michael Flad, horacebury, roaminggamer and 3 others like this

[TOPIC: post.html]
#2

cyberparkstudios

[GLOBAL: userInfoPane.html]
cyberparkstudios
  • Contributor

  • 552 posts
  • Corona SDK

Jason,

 

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

 

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



[TOPIC: post.html]
#3

sirmania

[GLOBAL: userInfoPane.html]
sirmania
  • Contributor

  • 154 posts
  • Corona SDK

Thank a lot Jason  B) 

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



[TOPIC: post.html]
#4

kaeguree

[GLOBAL: userInfoPane.html]
kaeguree
  • Observer

  • 15 posts
  • Corona SDK

geat




[topic_controls]
[/topic_controls]