Tutorial: Non-physics collision detection

Corona SDK has a robust physics-based collision detection system, but it requires some extra processing behind that scenes that you typically don’t need if you’re not using physics for other purposes. Today’s tutorial explains how to detect collisions between two circles or two rectangles without using the physics engine.

Tutorial: Stylizing Widgets, Part 1

This week’s tutorial discusses how to visually stylize widgets. Although widgets will adopt the OS-like appearance by default, in many cases you’ll want to customize the appearance to suit the style of your app. In this part of the series (1), learn how to properly style the button, table view, stepper, and spinner widgets.

Tutorial: Extending Libraries Without Native Code

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.

Tutorial: Introducing Google Play Game Services

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.

Tutorial: Delta time in Corona

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.