Wednesday FAQs: Timers and Events

Posted by & filed under FAQ.

FAQ Icon

It’s Wednesday and time for another frequently asked questions (FAQs) session. Here are some FAQs on timers and on how events are processed in Corona SDK.

Tutorial: Goodbye Globals!

Posted by & filed under Tutorials.

globals-feat

In Lua, global variables are risky. We’ve been stressing the “avoid globals” stance for a long time, and today’s tutorial shows you how. In addition, we illustrate the dangers and pitfalls of using global variables without a thorough knowledge of how Lua handles them.

FAQ Wednesday: Local Notifications

Posted by & filed under FAQ.

FAQ

It’s Wednesday and time for another FAQ session. Now that we added Local Notifications to Android, I thought it would be a good idea to answer some frequently asked questions on this topic.

FAQ Wednesday: Lua Programming Tips

Posted by & filed under FAQ.

Frequently Asked Questions

It’s Wednesday and time for another FAQ session. Here are some frequently asked questions (FAQ) about coding in Lua. This FAQ coves basic Lua language programming and focuses on some of the features that are unique to the Lua language.

FAQ Wednesday: Display Object Listeners

Posted by & filed under FAQ.

Frequently Asked Questions

It’s Wednesday and time for another FAQ session. Here are five frequency asked questions (FAQ). Today we are going talk about passing display objects to listeners and accessing the CoronaSDK documentation off-line.

FAQ Wednesday #8

Posted by & filed under FAQ.

Frequently Asked Questions

It’s Wednesday and time for a July 4th FAQ session. Enjoy and have a happy 4th!

FAQ Wednesday #7

Posted by & filed under Corona SDK, FAQ, Lua, Training/Support.

It’s Wednesday and time for another FAQ session. Here are five frequently asked questions (FAQ). Question 1 Why is text spacing/positioning slightly different between the simulator and device? Answer The fonts are not the same between devices and simulator. The native.systemFont is different depending on the OS. On the Mac, it is LucidaGrande 24 pt. On iOS, it’s Helvetica. On Win, it’s something else. Different fonts have different font metrics even at the same point size, so that will mean differences in alignment. Even for the same font, there can inevitably be differences, since the font rendering is done by the OS. While MacOS and iOS share similar code paths, the underlying text drawing is slightly different. The same fonts will have slight differences glyph