13 May 2016
From the Forum — Issue #123
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!
Fonts and the developers who love them
There have been many, many posts regarding the implementation of custom fonts. For clarity, custom fonts are any font type that is not part of the underlying OS. For most business apps and generic games, the provided fonts are plenty diverse. However, when a developer really wants to leave their mark and make an impression, a striking font is a great way to add some curb appeal for a low price.
Sometimes, however, custom fonts just do not want to play nice with our projects. In this case, you need to identify vagaries between the
.ttf types, kerning, and character width, just to name a few — and sometimes that custom font you’ve had your eye on just doesn’t want to work at all! Fortunately, another Corona developer ran into the same issue and, in the thread below, he provides some tips on how to overcome this hurdle by modifying the main font file. Check it out if you’ve been struggling with a font!
Coronium with a splash of MySQL
Coronium and Coronium Cloud are products of develephant’s creative vision and they are as much labors of love as they are products from which the greater Corona community can benefit. There has been lots of movement regarding the status of Coronium Cloud and Coronium 2, but develephant still has time to drop some gems for us in the forum.
This week we found a sweet tutorial for current and future users of Coronium, showing how to handle MySQL integration with the new server configuration. Click through to the original thread to watch the YouTube video!
Dynamic apps with interactive components…. on the fly!
The best part of the Corona forum is that sometimes simple questions turn into a larger discussion of “best practices” which convince our peers to peel the curtain back and show us how they are making their particular brand of sausage. My tortured metaphors aside, collaborating, sharing, and learning is how we all become better developers, and that should be the highest goal in our journey.
The original thread I’m referencing starts off in a simple discussion regarding the extensibility of the addMarker() API provided by Corona. It evolves into a examination of the efficacy of dynamic HTML file generation when the use case calls for a very specific and specialized interaction between app and user. Needless to say, it’s an intriguing topic, so head down to the original thread to pick up some pointers from the pseudo-code provided.
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.