×
A new build of Corona SDK is now available to subscribers. Not a subscriber? Subscribe now.
CoronaSDK 2012.821 | Released: 23 May 2012, 2:01am | What's New | Download Now

Sample Code

Analytics
Here is a new feature just added to Corona! The following sample code is designed to show analytics API.

Getting Started
You are only minutes away from getting started with Corona! These code examples create an introduction to Lua.

Graphics
Learn about Corona's drawing model and display objects. Incorporate and build on these examples to create your own apps!

Hardware
The following shows some essential aspects to the hardware of Corona. It includes examples for a Compass, GPS, and more.

Interface
Alert, Dragging objects with touch, 3 different kinds of List Views are the types of examples you'll find in Interface.

Media
In Media you'll find more options to play around with sounds in Simple Audio Recorder, or even recording motion in Simple Video.

Networking
This world doesn't function without Facebook and Twitter. Here are some code example to incorporate social networking in your next app.

Openfeint
Every app should have the ability to record high scores on Openfeint. Here is your chance to learn how to do it.

Physics
Some really great examples showing the physics engine of Corona. These includes Chains, Bullet, Crates, and even some of the latest additions, Multipuck and HorseAnimation.

Platform Specific
When you just want to work in one platform, these sample codes that deal only with iPad, iPhone, or Droid will assist you in creating your next app or game.

Sprites
What is a Corona game without animation? Known as the building blocks of amimation, here are some sample codes to demonstrate the use of sprites.

Storage
These example show you how to create and read APis.