Code debugging is essential to app development, but you need to know where to find error feedback and how to interpret it. This week’s tutorial shows you some basic debugging methods and explains what some of the “cryptic” error messages actually mean.
Sometimes, in development, we wish that there was “one extra little thing” in a particular library, or that a function handled a use case specific to our needs. In today’s tutorial, using a little Lua “magic,” we’ll learn how to add custom functions to existing Corona libraries and even extend the functionality of existing APIs. Read further to learn how.
At the Google I/O conference last May, Google announced “Google Play game services” and began offering online game support similar to Apple’s GameCenter. Corona Labs, working with Google, demonstrated live apps at Google I/O using these game services. And now, following on the heels of this demo, we’ve rolled out the first version of Google Play game services support in Corona SDK. Read further to learn how to implement leaderboards and achievements on Android using Google Play game services.
One method of animation and timing is to programmatically change certain values on each frame update. However, If the frame rate fluctuates, the speed of this action may seem inconsistent to the user. To compensate for this, you can use “delta time,” a process which helps the run speed appear more consistent during processor-intensive periods.
Today’s tutorial walks you through Corona’s OpenSSL plugin. Using this, you can easily encrypt and decrypt data in just a few lines of code.
In most apps, certain audio files are needed throughout the app while other audio files are only required in a specific scene. You may also encounter an instance where a particular audio file is loaded in one scene but “overlaps” into another scene, which can complicate the cleanup process. Today’s tutorial discusses how to overcome both of these scenarios with the use of a sound management module.
In Lua, global variables are risky. We’ve been stressing the “avoid globals” stance for a long time, and today’s tutorial shows you how. In addition, we illustrate the dangers and pitfalls of using global variables without a thorough knowledge of how Lua handles them.
In this week’s tutorial, learn how to use the Zip plugin, convenient for compressing and uncompressing files within your app.
Today’s tutorial goes “back to the basics” of sprite usage and image sheets for both typical animations and image “swapping” as well. If you’re new to Corona SDK or simply need to brush up on sprite usage, read further as we discuss the benefits, the basic code, and some practical examples.
This tutorial discusses physics “ray casting” and “reflection,” easy-to-use methods for casting a “sensor ray” into the physics world. Read further to learn how to implement these features.