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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s