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!
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.
This week’s tutorial discusses the Corona “physics contact,” a method that allows you to access a specific collision — and four new properties pertaining to it — before the collision actually occurs.
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.
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.
In this week’s Tuesday Tutorial, Corona Ambassador Brent Sorrentino explores the basics of parallax scrolling and walks you through a demo project to implement a customizable touch-and-drag parallax view in your app.
This tutorial discusses tips on how to optimize image sheets and use them for multiple sprites with variation on the same core animation.
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.
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).
There’s often confusion as to what exactly happens when external modules are “required” into your code, which leads to further confusion and unexpected behavior when it comes to things such as Storyboard Scenes or even custom modules of your own.
Today I’m going to guide you through a series of exercises (with explanations) that should illustrate exactly how modules work in Lua, so you get a full understanding of when the code in your modules is executed, including what code is not run when you call the built-in require() function.