From the Forum — Issue #135

From the Forum — Issue #135

From the ForumWelcome to the latest installment of From the Forum. In this series, guest blogger Alex Jackson highlights outstanding threads from the Corona Forum. The goal is to bring attention to the most captivating, interesting, and thought-provoking discussions taking place in our very own backyard.

Please visit the forum to join these conversations or start your own!


Multiplayer guides always come in handy

It seems like with every rise of the morning sun, Corona developers have new multiplayer options to consider when developing their games. Fortunately, there are a few options that spring to the front and streamline the process while integrating nicely with Corona.

One of the more popular options is Photon, a robust multiplayer and networking platform which has a very strong presence in the Corona forums. In addition to easy integration, a Corona YouTuber has posted an incredibly useful video tutorial on creating a multiplayer game using the Photon engine at its core.

Check out the original thread to learn a bit more about this project, and if you have questions, don’t be shy!

When “if-then” just isn’t enough

Let’s paint a picture: you have multiple methods for handling different types of devices, app store delivery methods, or screen sizes. You want to maintain one code base, but still want to make sure that each new build contains the correct configurations associated with your stipulations. What’s the best way to accomplish this with the least amount of code?

Corona support engineer Rob Miracle chimed in on the thread below with some tips on setting up symbolic links (“symlinks”) on macOS machines. Valuable in other areas as well, symlinks can be worth their weight in gold.

Read the original thread to grab some tips on this process and how it can make a complicated project much simpler.

Treading the familiar grounds of “scope”

Scope in Lua is a fickle beast. It can mystify new converts and conquer the most aged among us. Learning it is a requirement, but mastering it can take years.

Corona has many resources to help developers learn how scope works. Having a firm grasp of how scope relates to clean code and how it contributes to a solid project can be found in this forum discussion.

About Alex

Alex Jackson is an indie developer and the founder of Panc Interactive, specializing in retro-style gaming. He has created several mobile applications, enjoys long walks on the beach, pixel art, and reading the Corona forums. Contact him by email or follow him on Twitter: @pancinteractive. Check out his new game Segreta on iOS, Android, Windows Phone, and Amazon devices.

alex
No Comments

Sorry, the comment form is closed at this time.