Tutorial: Paint Brushes, Trailing Object Effects, and More with the Snapshot Canvas

Posted by & filed under Corona SDK, News & Announcements, Tech.

Graphics 2.0 Demo Contest Winners

Today, I’m going to show you how to use snapshots to achieve the sorts of tricks you’d want to do in traditional CPU-based graphics.

One of the old school tricks is to be able to touch pixels on the frame buffer directly, or modify the pixels of an image directly. In a GPU world, you cannot do that b/c passing memory between the CPU and GPU is extremely expensive.

Snapshots to the rescue!

Expansion File Support for Android

Posted by & filed under Android, Corona SDK, Tech.


We’re happy to announce support for Google Play expansion files that will vastly simplify mobile app development. Why would you want to use expansion files? Read the full post to learn more!

Corona, Android notifications, and cross-platform development

Posted by & filed under Amazon Kindle, Android, Corona SDK, iPhone, NOOK, Tech.

So I owe you a story on notifications on Android and Corona which is essentially a story on why cross-platform development is incredibly difficult.

Now if we were just a pure iOS platform, we’d be pumping out features very quickly. However, we also support Android. And actually, if we count our desktop app,┬áCorona Simulator, we also support Mac and Windows.

Of all four OSs, Android really slows down our development. Internally, we have a rule of thumb that features on Android take at least 5-10 times longer.┬áThere are two main reasons…

Tutorial: Creative Effects Using Blend Modes

Posted by & filed under Corona SDK, Game Development, Tech, Tutorials, Tips and Demos.


Today’s tutorial covers Corona blend modes using the “object.blendMode” API, and illustrates how to use them for creative visual effects within your app. Whether you want to achieve a glowing effect like fire or a subtle shadow effect, blend modes can be a powerful tool in your Corona arsenal. This tutorial steps you through the three Corona blend modes, the effect of each, and the technical algorithms involved.

Apple vs Amazon

Posted by & filed under Android, iPad, iPhone, NOOK, Tech.

Apple vs Amazon

September has been an exciting month in mobile, or more generally, connected devices. Last week, Amazon announced two new Kindle Fires and is trying to move into iPad-sized tablets. In spite of the controversy over ads displayed on the lock screen, it’s a very compelling price point.

Perhaps most interesting is how Amazon views Android. Amazon CEO Jeff Bezos says “it’s a base operating system layer”, like Linux but with a lot of customization. In other words, they’re not in the game of making Android devices; they’re making Kindles.

FAQ Wednesday #6

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

It’s Wednesday and time for another FAQ session. Here are five frequently asked questions (FAQ). Question 1 How do I bring the Corona window back to the desktop? Answer This is a common issue with Windows programs where the window will disappear if it’s on an external display and the program is restarted without the display. The program is not hung, just trying to display the window on a non-existent display. This can occur with the Corona Windows Simulator (this is not an issue with the Mac Simulator) and here are the steps for getting back the window: Right click on the Corona Simulator tab in the task bar Click on “move” Press an arrow key (left, right, up or down) Move the move until

FAQ Wednesday #5

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

It’s Wednesday and time for another FAQ session. Here are five frequently asked questions (FAQ). Question 1 Now that you added the Lua File System (LFS), how can I use it to get a list of files in the /Documents directory? Answer The Lua File System was added starting with Corona build 2012.805. You can read the tutorial here. The LFS now makes it possible to create, delete, and access subdirectories. The key to all of this is creating a string containing the path to the directory. In iOS and Android, there are three main directories: Resource, Temporary, and Documents and they are accessed using Corona constants. These userdata constants need to be converted to a string so they can be used with the LFS.

The Coders’ Dilemma (and happy belated birthday Corona!)

Posted by & filed under Corona SDK, News & Announcements, Tech.

Building stuff is hard. Sometimes when you’re willing something into existence, you lose track of time. The days just roll into one another. Maybe you’ll find the following scenario all-too familiar: It’s 1am. The monitor is staring back at you. The cursor blinks on line 128, column 64. Over the past hour, the list of friends who are online on IM has been shrinking one by one. It’s the only reminder that there’s such a thing as normal working hours. In fact, your somewhat confused as to what day it is. But you are so close, ever so close to getting that one thing working. Maybe it’s breaking ground on your new app. Maybe it’s a bug fix. Maybe it’s that cool new feature. Whatever

FAQ Wednesday

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

It’s Wednesday and time for another five frequently asked questions (FAQ). Question 1 Why do images take longer to load on the new iPad (retina)? Answer This issue came up when a user was using large JPEG images on the new iPad Retina and noticed the time to load the images were a lot higher than on the iPad2. One of the reasons is the new iPad accepts larger image sizes, but we also found out a few things that might help if you have images that take a long time to load. First off, use non-progressive JPEGs. Progressive JPEG take longer to load. How you compress JPEGs makes a difference in load times. Compressing to 70% or 80% can cut down the time to