TerraDestructa

Posted by brad.herman, Posted on January 29, 2012

GitHub URL: 
https://github.com/brad3d/TerraDestructa

Welcome to TerraDestructa

TerraDestructa is a grid based destroyable terrain system for corona.

This is the first release and should be considered an alpha. I do not think it's ready for a production app quite yet. That's your warning.

However it's quite fun to play with and the included main.lua demos the main feature

Just touch the squares to carve them away, the physics objects generate on the fly as you draw. All edges have physics. Carve the floor out under the balls to make them fall.

TerraDestructa is an origional work by Brad Herman
Copyright 2012

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?

Dynamic Module Loading

Posted by codepunk_schmidt, Posted on August 17, 2011

GitHub URL: 
https://github.com/codepunkschmidt/Codepunk-s-Code

“Dynamic Module Loading”. Sounds fancy but in fact it really isn’t. Whenever I start a new project and am in the design phase, I look for areas of the design that can benefit from being data driven and a way to support an extensible plugin model. The code I’m about to show you here does just that. Again, not rocket science but I think you’ll see that it can help you quite a bit.
The whole concept behind this lies with the requires statement. In most cases, you would write something like:

1
local physics = requires ("physics")