Tutorial: Encoding URLs for Network Usage

Posted by & filed under Tutorials, Tips and Demos.


URLs must be properly encoded before they are used as part of network requests. Web browsers encode URLs automatically, but within apps, certain values must be converted for safe transport across the Internet. In this tutorial, we discuss URL encoding and explore a simple automation function.

Tutorial: Basic Spawning

Posted by & filed under Tutorials, Tips and Demos.


In game design, a common aspect is object spawning, whether it be spawning a variable number of items and placing them randomly about the screen, or spawning items repeatedly on a timer increment. In this tutorial, we’ll step through a module with some common features related to spawning.

Resolution Independence: Adaptive Content Scaling in Corona

Posted by & filed under Android, Corona SDK, iOS, iPad, iPhone, Tutorials, Tips and Demos.


In previous posts, I shared a new way to think about virtual pixels (points) on iOS and the nuances of density independence on Android. Today, I’m going to talk about virtual pixels in Corona and explain how Corona virtual pixels can be made to look like native iOS/Android virtual pixels using “adaptive” content scaling.