Category: Tech

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

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!

READ MORE

Corona, Android notifications, and cross-platform development

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…

READ MORE

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.

READ MORE

FAQ Wednesday #6

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 …

READ MORE

FAQ Wednesday #5

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 …

READ MORE

FAQ Wednesday

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 …

READ MORE

FAQ Wednesday

It’s Wednesday and time for another five frequently asked questions (FAQ). Question 1 Should I use PNG or JPG image files in Corona? Answer The answer depends on the quality of the images you need and the size of your …

READ MORE