Category Archives: Blog

Performance Showdown: Starling vs ND2D vs Genome2D vs Haxe NME

[UPDATE] These numbers are old. New numbers have been posted here: http://esdot.ca/site/2012/runnermark-scores-july-18-2012 In this post we’ll use my RunnerMark lib to benchmark the rendering performance of the various Stage3D 2D Engines, and compare them to renderMode=GPU and HaxeNME. Big thanks to Philippe for the Haxe NME port! Now we can...
Read more

Introducing RunnerMark: AIR Benchmark Suite

In an effort to benchmark the various Stage3D 2D Frameworks, I’ve created a small test suite called RunnerMark. It’s hosted on github here, along with a video of it in action: https://github.com/esDotDev/RunnerMark All contributions are more than welcome. If you feel like something can be optimized, or have an entirely...
Read more

A better Stats package: FastStats

One thing that has become more and more of an issue in my life are FPS meters. The venerable Mr Doob’s Stats class just does’t cut it anymore… This issue is, on mobile devices, often the FPS meter can create a significant load on your app, skewing your test results....
Read more

Performance Comparison: Starling vs GPU Render Mode

[** UPDATE **] Starling has significantly improved performance since I ran these tests. For more current numbers check out my Performance Showdown! With the advent of Stage3D, many developers are wondering whether it’s time to make the switch from renderMode=GPU to a Stage3D Framework such as Starling or ND2D. To...
Read more

Tutorial: Packaging ANE’s

I thought I better post this while it’s fresh on my mind. Yesterday, I decided to make my 3rd attempt at building an ActionScript Native Extension for Android, and I found this great tutorial here: http://www.adobe.com/devnet/air/articles/developing-native-extensions-air.html While that tutorial is great, it covers everything up to the packaging part, and...
Read more

AIR 3.2 – Making an Endless Runner with Stage3D (Part 1)

With the introduction of AIR 3.2, Adobe has brought Stage3d to mobile devices. Finally flash developers can now leverage direct GPU Acceleration on Android and iOS! While Stage3D obviously enables 3d games, it’s also a huge boon for 2d games! The GPU is extremely fast at pushing around 2D sprites,...
Read more

App.xml Stub File

If you’ve ever created an AIR for Mobile project, you’ll know that the default -app.xml file provided is pretty gross. Everytime I start a new project I hit this same issue, and have to clean out all the junk, so this is mainly a reference for myself Here’s a nice...
Read more

Turning off local security in Chrome.

Whenever you’re working with HTML5 Canvas, there’s a really annoying security issue anytime you try and read the pixels of your canvas (for example: hit detection). Basically, it will error out, and force you to test on a web server, which is a pain. This affects all major browsers except...
Read more

Add InApp-Purchases on Android & iOS

A few months ago, I decided to add an Upgrade option to one of my apps: TouchUp Lite for iOS. I wanted to use the In App Purchase API to allow people to instantly upgrade their Lite version to Pro. It turned out to be one of the best decisions...
Read more