Category: Tutorials, Tips and Demos

Tutorial: Utilizing time and dates

Working with “time” in any programming language can be confusing. Furthermore, it’s not always obvious what various time and date functions mean and how they behave. This week’s tutorial discusses some of these issues and shows you how to work with things like date calculations, time zones, and date formatting.

READ MORE

Tutorial: Multi-element physics bodies

This week’s tutorial steps you through some advanced tactics involving multi-element physics bodies. Mutli-element bodies possess some valuable traits that joint-assembled bodies don’t — but they also present some quirks and hurdles. Learn how to work around some of those in your physics-based apps!

READ MORE

Corona Holiday Gifts: Android Push and More!

Christmas came early for many Corona SDK developers! The team was very busy last week with a bunch of check-ins that rolled out to daily builds. There are many new features for you to explore, including native Twitter support (iOS 5 and 6), iAds support, and the much-anticipated Android push notifications. Please read about all of the holiday gifts that Corona has delivered today, and how to get started with push notifications in Android!

READ MORE

Tutorial: the Ultimate “config.lua” File

A common question people ask when developing mobile apps is, “How do I support all of these different devices?” For iOS alone, we now have three basic screen “shapes” to contend with, in addition to multiple resolutions. Android phones/tablets, Kindle, and Nook add even more. Corona veteran and team member Rob Miracle shows you how to overcome this obstacle using a comprehensive, logical configuration file.

READ MORE

Tutorial: New Widgets, Part 1

The Widgets 2.0 library is now available to users with access to Daily Builds. All new widgets share a common trait: each has been written atop a new foundation that is more flexible and stable. Today’s tutorial discusses two of these: “switch” and “segmented control”. Please read further to learn how these new widgets can enhance the user interface of your app.

READ MORE