Another one of Corona Labs’ holiday gifts is the inclusion of Apple iAds, a product of the Corona SDK plugin system known as “Project Gluon”. Fortunately, the implementation of iAds in Corona is simple! Learn how by reading this tutorial.
Posts Categorized: Tutorials
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!
Reintroducing Google Maps
Google Maps are back — and we can use them in our Corona iOS apps today! Read all about the new iOS implementation of Google Maps and how to use custom URL schemes to open specific, customized Google Maps directly from your iOS app.
Device Detection on Steroids
Developing for multiple devices and OS versions might seem tricky, but it’s easier if you build a comprehensive module to detect different hardware models. This week’s tutorial steps you through the entire process, allowing you to modify both content and capabilities depending on the actual device. Read further to learn how it’s done!
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.
Introducing Physics “event.contact”
This week’s tutorial introduces Corona’s new “physics contact”, a method that allows you to access a specific collision — and four new properties pertaining to it — before the collision actually occurs. Among other applications, this can be used to solve the classic “one-sided platform” in 2D platformer games such as Super Mario Brothers, Doodle Jump, and more.
How to Download JSON Data From MySQL Using Corona
A common question from Corona developers is: “How can I read data stored in a remote database and put it into my app?” Corona Ambassador and author Brian Burton illustrates one convenient method in this week’s Tuesday Tutorial.
Predetermined Transitions & Manual Animation
Predetermining your transition “frames” is another useful trick if you want to squeeze every ounce of performance out of your code. This week’s tutorial from Corona veteran Omid Ahourai shows you exactly how with the implementation of his custom “AK-tween” library.
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.
Creative Effects Using Blend Modes
Today’s tutorial covers Corona blend modes using the “object.blendMode” API, and illustrates how to use them for creative visual effects within your app. Whether you want to achieve a glowing effect like fire or a subtle shadow effect, blend modes can be a powerful tool in your Corona arsenal. This tutorial steps you through the three Corona blend modes, the effect of each, and the technical algorithms involved.



Add to Google