24 June 2016
From the Forum — Issue #129
Welcome 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!
Saving in the crypt
We all value security. Whether you’re looking for a quality deadbolt for your home’s front door or a solid solution to app data, it never hurts to know all the latest security trends.
It is and will remain my fervent opinion that obfuscation is the only profitable method to secure data. I was extremely pleased to see a thread pop up that not only discussed methods for saving app data, but contained a cool snippet of code that demonstrated how to encrypt the data one would be saving.
Check out the original thread here, and don’t forget to say thanks!
Await the loading screen!
I always like to have a coroutine method in my back pocket. Nothing major for the most part: just something graphical to let my users know that the app hasn’t gone “kablooie” on them — instead, it’s just chugging through some data or retrieving an asset from a server.
Not everyone has a back-up plan for this kind of issue, so I wanted to share a thread where stellar Corona support engineer Rob Miracle talks about several different ways one can invent and implement a loading dialog. No need to make a separate scene if it doesn’t make sense for your app’s workflow — a simple overlay should do the trick!
Click through to the original thread to find this illuminating discussion!
Leaving a smoky trail
One of the more interesting and dynamic effects in a physics-based game is representing a trail or “tail” of a projectile. Throwing a baseball, hitting a golf ball, tossing a javelin — all of these become more complex when coupled with this interesting articulation.
That doesn’t mean that you can’t have fun modifying the code contained in the original thread below to suit your needs! The sky’s the limit with this base snippet at your disposal: a snake-style game, trailing columns of smoke, maybe some particle details. Have an improvement or addition? Let us know in the thread.
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.