From the Forum – Issue #155

From the Forum – Issue #155

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

Music in games?

A community developer was curious what other developers felt about music during gameplay. Using our forum poll feature, he asked this basic question which spawned a great discussion on the merits of soundtracks in games.

OOPs

Imagine that you have a need to create characters with a base set of parameters. How do you initialize them — using minimal code — when most of the values are the same? Enter metatables, Lua’s way of defining object properties. This thread takes a dive into understanding metatables.

Touch or tap

Touch listeners and tap listeners have their pros and cons. One of the main differences is that taps are defined as a quick touch-and-release — but what if you want to handle both? In this thread, learn one way to handle a tap without triggering the touch event.


Do you have a particular forum thread that was helpful for you? Let us know about it! Email [email protected], 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.

Rob Miracle
[email protected]

Rob is the Developer Relations Manager for Corona Labs. Besides being passionate about helping other developers make great games using Corona, he is also enjoys making games in his spare time. Rob has been coding games since 1979 from personal computers to mainframes. He has over 16 years professional experience in the gaming industry.

No Comments

Sorry, the comment form is closed at this time.