From the Forum — Issue #130

From the Forum — Issue #130

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!


Scenes from a Corona restaurant

Using Composer as a scene management system is a great way to keep your app light without having to roll your own overlay/transition manager when going from one screen to the next. It also gives you a handy method to sidestep the age-old problem of global variable creation.

I find the latter advantage to be invaluable when dealing with smaller projects that don’t need a robust solution for variable access throughout modules. This thread talks a bit about how one can leverage the Composer API to get at the ever-changing values upon which your app depends.

AutoLAN back from the beyond!

I’ve always had a soft spot for autoLAN. It’s a great library that allows for multiplayer support through local WiFi. It’s lightweight, relatively simple to implement, and easy to maintain. Those features are already a lot, but the real kicker is that it’s available at the low, low price of free!

Alas, with the introduction of IPv6 requirements in the socket() API — necessary changes required for continued OS compatibility — autoLAN fell on hard times. It seemed that the days when you could fire up two devices and have players battle it out in your game were gone.

It didn’t stay down for long, though! The Corona community lept into the fray and came out of the jungle with an update to the library in record time. Check out the updated code base that is referenced here.

Dynamic URL redirection

Apple has been much better about app approvals these days. Simplified checks and streamlined guidelines have reduced wait times and generated clearer feedback for developers.

Sometimes, though, you need to make a quick change to your app that shouldn’t necessitate an entire review by Apple — a typo in a JSON file, an update to a graphical asset, etc. These topics have been covered in previous From the Forum entries, but today we have another option to add to our toolbox in the form of dynamic URL handling.

This can be a great time saver when, for instance, you want to point a FAQ page from your site to another community-operated site. Click through to the original thread for a bit more information.

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.