05 May 2017
From the Forum – Issue #155
Welcome 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.
Sorry, the comment form is closed at this time.