I need to create a tile map based level system for Corona SDK that loads files created with Tiled [1]. It also needs to support user touch scrolling and zooming.

I've searched the Corona forums for possible solutions but the ones they talk about don't convince me. They basically have a matrix of Sprite objects which have an image loaded and a given position. That makes scrolling and zooming a bit hard.

Any better ideas?

[1] http://www.mapeditor.org/


First off, have you already seen Lime but don't want to incorporate that framework, since its entire purpose is to incorporate Tiled maps in Corona:


In your searches of the Corona forums, did you find these threads?




A while ago someone had asked about developing efficient tile map performance/culling and I provided an example of one simple approach using quadrants to organize the tiles for efficiency. Then p120ph37 showed up with an even more efficient technique that changes the frame of the sprite objects without actually showing/hiding sprites.

What a coinciendence: just yesterday I saw this preview of the improved tiling performance in Corona's latest build.


  • \$\begingroup\$ 1st link is dead. \$\endgroup\$ – Raptor Sep 29 '13 at 15:44
  • \$\begingroup\$ thanks, I updated the link. it appears to have gone open-source \$\endgroup\$ – jhocking Sep 29 '13 at 16:24

check this out running @ 60fps : http://forums.coronalabs.com/topic/33119-million-tile-engine-beta-release/

and should only get better when Corona Graphics 2.0 gets released.

  • \$\begingroup\$ You should add more to your answer instead of just posting a link. \$\endgroup\$ – user15805 Aug 12 '13 at 18:52
  • \$\begingroup\$ As far as I can see, this really isn't relevant to the question - the question asks for better ways of doing it, whilst you've just linked to a video showing it can be done. On top of that, this question was posted over a year ago, so it's likely no longer relevant (new versions come out, etc.) Finally, welcome to GD.SE! \$\endgroup\$ – Polar Aug 12 '13 at 20:58
  • \$\begingroup\$ The link was meant to use "Million Tite Engine" which is a very good map engine for CoronaSDK, even better than "Lime" mentioned in the first answer (even in Lime website, it says MTE should be a better solution as a map engine). \$\endgroup\$ – Joe Huang Dec 24 '14 at 2:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.