Align Library for Corona SDK

I’ve been playing around with Corona SDK. I like it – it is simple and robust. It is very easy to make a game and the learning curve is very smooth.

One thing I found myself doing again and again is aligning things next to each other. E.g. putting the player sprite on the ground image, putting 2 buttons next to each other, things like that. It is easy but after some time it gets cumbersome, all those calculations of height and width.

So I created a small library to help with aligning things.

I posted an example in the Corona forums and the library is available on github (with more examples).

Screen Shot 2014-04-25 at 7.39.13 PM