Not sure if that's the right name for it, but I'm looking for a way to implement zooming in my game.

Essentially the game should zoom in on my character during the moving and shooting phase (its like Worms), but zoom out when the character has shot (preferably by following the shot, like Angry Birds does).

Can Corona/Lua do something like this?

  • 1
    \$\begingroup\$ I'm thinking you just need to scale the images on the screen to zoom in. \$\endgroup\$
    – Joey Green
    Dec 18, 2012 at 14:53
  • 3
    \$\begingroup\$ This sort of thing has been asked before. \$\endgroup\$
    – Anko
    Mar 1, 2013 at 16:39
  • \$\begingroup\$ Doing this in Corona is a different problem than doing this in, say, OpenGL. \$\endgroup\$
    – jhocking
    Aug 29, 2013 at 12:19

2 Answers 2


I think you can attach everything to the same group and then scale that group: http://docs.coronalabs.com/api/library/display/newGroup.html


Actually, you can do it with scaling all images on the stage. It's like scaling all display objects include physics and/or non-physics objects.

You can check out xScale, yScale features from CoronaLabs website. Also, you should be careful about the reference points of the objects. Cause of, scaling depends on the reference point of the object that you scale.

If there are more specific questions in your mind about these usages, then please comment.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .