The Screen Jungles
We briefly mentioned in the previous chapter how difficult it is to support multiple screen resolutions. Yet today, apps should run in full screen to be the most appealing. Although Corona SDK helps a lot, it’s still difficult to understand all the refinements of this topic.
In this chapter I’m going to give you some tips on how Corona SDK supports multiple resolutions, and we’ll finish With a sample showing you how to support smartphones and tablets.
The Content Area
The minimal config.lua, and the one generated by the Corona Simulator when you create a new project, look almost identical:
The width and the height are ...
Get Create 2D Mobile Games with Corona SDK now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.