Simple Bubble Popper

Posted by TheRealTonyK, Posted on February 24, 2013, Last updated March 13, 2013

GitHub URL: 
http://github.com/NightmaresWithin/Public/tree/master/Development/Games/CoronaSDK/BubblePopper

Bubble Popper for the CoronaSDK

This template was constructed to demonstrate many aspects of programming in lua for Corona. It is an updated version of some simple code I posted quite some time ago which helped many users get a start. This new version goes much further with graphics and the intent to show many different techniques that are not quickly identified when starting with Corona.

You will learn

How to implement object orientated design patterns in lua
"Class" instantiation
How to create event handlers for collision and touch

OWL (Objects with Lua)

Posted by jonathanbeebe, Posted on April 26, 2012

GitHub URL: 
https://github.com/jonathanbeebe/owl

OWL is a single-module library that provides an easy way to incorporate object-oriented programming concepts into Corona SDK projects. Supports classes that produce display objects (as well as classes that produce non-display objects), and can even be used with non-Corona Lua scripts as well.

Features include:

Text Wrapper Class

Posted by sunmils, Posted on December 22, 2011, Last updated October 14, 2012

GitHub URL: 
https://github.com/sunmils/corona_sdk_wrapper-class

There are two main usages of the module:

  1. You can wrap any text to a desired width, the height will be appointed automatically.
  2. You can wrap any text to a desired width and height, the font-size will be appointed automatically. This feature is very useful if you want a text shown in a spezific frame without knowing its lenth. If it is fetched from internet or entered by the user for example.
.

Adjustable Parameters:

  • text
  • width
  • height (for auto fontSize)

classes.lua - A simple Class implementation in Lua for Object-Oriented Programming

Posted by Varen, Posted on December 4, 2011, Last updated December 6, 2011

GitHub URL: 
https://gist.github.com/1429475

What?

classes provides a simple solution to Object-Oriented Programming in Lua. It has the basic OOP features one might expect, such as inheritance, and covers up dealing with metatables and the like.

Why?

classes was developed because when I started working with Corona, I had only a basic knowledge of Lua. Working on big projects, in any language, can usually benefit from some OOP functionality. There are a few libraries out there that bring this to Lua. This is a simple, lightweight, ~100 line implementation.

How?

Parallax Class

Posted by duff333, Posted on July 20, 2011, Last updated February 5, 2012

GitHub URL: 
https://github.com/duff333/Parallax-Class

par·al·lax

  • The apparent displacement of an observed object due to a change in the position of the observer.

Imagine yourself in a car looking to one side. The grass next to the road goes by fast while the trees in the middle of the field look slower. Meanwhile, the far away mountains look like they are barely moving. This is the essence of parallax.