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.

Tutorial: 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.

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.

Tutorial: 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.

Tutorial: Dynamically-Optimized Sprites

Today’s guest tutorial comes to you courtesy of Omid Ahourai, an indie game developer who goes by the alias “ArdentKid.” He’s been working with Corona SDK for over two years and will soon release his first highly-anticipated game, “Balloon Bazooka.” Please check out his work and blog at www.ardentkid.com.

Tutorial: Animated Sprites and Methods

Tuesday Tutorials are back! Today’s tutorial is from Brent Sorrentino, a Corona Ambassador based in northern Colorado. Brent has been an active part of the Corona community for almost two years. He is a freelance travel photographer, Corona developer, and graphic designer. In addition to using Corona to develop his own apps, he regularly lends a hand in the forums, helping other developers solve coding issues.

Corona Guidelines: iPhone 5 and iOS6 (Preliminary)

The iPhone 5 is looking like it will be the fastest-selling gadget of all time. So let’s talk about what you need to do to prepare your Corona apps for the iPhone 5 and iOS6.

One of the biggies we’ll cover is what you’ll need to do to make your Corona app handle the new 16:9 aspect ratio, or what we’re calling “tall apps” (as opposed to the shorter “traditional apps” designed for the iPhone 3 and iPhone 4).