define('DISALLOW_FILE_EDIT', true);{"id":519,"date":"2010-10-01T12:57:06","date_gmt":"2010-10-01T17:57:06","guid":{"rendered":"http:\/\/www.unfocus.com\/?p=519"},"modified":"2010-10-01T12:57:06","modified_gmt":"2010-10-01T17:57:06","slug":"flash-iphone-game-at-silky-60fps-on-3gs","status":"publish","type":"post","link":"http:\/\/www.unfocus.com\/2010\/10\/01\/flash-iphone-game-at-silky-60fps-on-3gs\/","title":{"rendered":"Flash iPhone Game at Silky 60FPS on 3GS"},"content":{"rendered":"

Well, it’s only a tech demo at the moment. I’ve been playing with this Breakout like game for a while, trying to learn the ins and outs of Flash mobile development – particularly as it relates to performance. I now have the unBrix demo running at close to 60FPS (59.1) – smooth as silk.<\/p>\n

This won’t run at 60FPS on Android Flash Player plugin in the browser (or Firefox on Mac!) – this post is about the iPhone build – but here’s the web version<\/a> to look at anyway.<\/p>\n

<\/embed><\/object><\/p>\n

Here is a blurry video of the thing running as a native iPhone app on a 3GS (I smoothed out the choppy splash transition in a later build by setting the BG element with cacheAsBitmapMatrix):<\/p>\n