Tutorial: Methods for Positioning Text

Posted by & filed under Tutorials, Tips and Demos.


At the basic level, creating and positioning text in Corona SDK is simple. However, when you need to position/align text in creative ways, things get a bit more complicated. In this tutorial, we’ll inspect the actual display object that Corona generates so that you can understand and achieve advanced positioning and alignment.

Tutorial: Lua String Magic

Posted by & filed under Tutorials, Tips and Demos.


Today’s tutorial features Lua string manipulation and parsing techniques which can be useful in several applications, especially business or database-powered apps where you need to check and confirm that text is formatted properly. Read further to learn about these string-related helper functions.

Multiple Lines in display.newText()

Posted by & filed under Daily Build.

Taking a look at a few forum threads on the topic, it’s plain to see that there’s a definite need for built-in text-wrapping capabilities in Corona! Well today just might be you’re lucky day, that is, if you’re one of those people in need of it, because as of Daily Build 638, display.newText() now has the ability to wrap text, and it now properly supports the newline (n) character! (Be sure to see the Important Notes section at the end)