This post was originally published at From the Forum – Issue #168

Welcome to this week’s From the Forum. In this post, we highlight a few Corona Community Forums posts that cover important topics.

Modules, modules, modules

Developers love to build their own libraries. The bigger they get, the more important organization of the code becomes. In this thread, learn some strategies for maintaining modules in your code.

Moving containers

The original poster’s question was curious how to move a display object so that it only shows part of the object, depending on the position. Think of moving a character in front of an X-Ray machine. Enter containers. This thread goes into quite a bit of depth on how to use containers to partially reveal objects.

Cool Lua syntax

The original poster saw some Lua syntax that wasn’t familiar. Enter forum superstar @roaminggamer with a great explanation on single line conditionals to populate variables in this thread.


Do you have a particular forum thread that was helpful for you? Let us know about it! Email support@coronalabs.com, put FTF: and the forum title in the subject, and include the URL in the email. We will consider adding it to an upcoming edition of From the Forum.

See original: 

This post was originally published at From the Forum – Issue #168