By utilizing the GPU and cacheAsBitmapMatrix this Box2D demo went from a sluggish 18 – 20 fps to a consistent 24 fps! Check out the demo in the video below: Turning on GPU Acceleration within AIR for Android: Open the application descriptor XML file associated with your project. Edit the render mode to include gpu […]
GPU Bug on AIR for Android
Correction: Argh. This was a problem in two of my projects, including one I just created but now it’s working on my third project. This may or may not be an issue depending on your setup. I’m going to try and isolate the problem and provide an update. End correction Not noticing improvement when selecting […]
Touchable Framework for Adobe AIR – Sneak Peak!
Let’s face it. The gesture API for Adobe AIR is mediocre at best. Here’s a look at something better, a framework that will allow you to create regions for custom gestures. Controlling where you want to pick up touch events. It will utilize multi-touch, gesture and accelerometer controls all in one package. Control your games […]
Box2D on the Nexus One with Adobe AIR
This native application uses the accelerometer to determine the direction of gravity for the Box2D physics engine. It performs quite well given the number of computations and could probably be optimized considerably. Check out the video for a demo on the phone! Porting the code was the easy part. Configuring Adobe Flash and setting up […]