Ok, so here’s the first sneak peek to one of the games that we are producing for mobile devices as Team-O, for our first game we decide to approach a simple game “Smash-a-Mush” is a whack a mole style game where in order to collect points You need to smash the mushrooms and avoid touching other things like flowers, stones or the radish, when we designed this game Stage3D wasn’t available yet for mobile development so we build a little framework and it’s basically a “get more points game” like those Atari games where the objective was to cross as many stages posible and collect points.
We began doing it in Flash CS5.5 but even when is a simple game I find out that we needed to move it to a pure As3 project done in FDT5, why? performance, the thing that took the most time in the development side was that I needed to be really careful with memory leaks and performance issues and optimize the game to use less vector graphics and do the most of the animation using sprite sheets and partial blitting, Fdt5 Profiler was a real time saver and helped me find those memory leaks that using Flash alone would not have been posible.
We are the in the process of finishing the music and audio of the game and hope Apple’s App Store will approve it in the next few weeks. I would be writing a series of more detailed posts of the process of building games with Flash for mobile platforms and give a few tips/warnings for newcomers so they won’t have to struggle with the same problems that we already had, meanwhile You can watch the video of the game running on an iPad 2.
Thanks for reading,
Dave

The Flash AIR to iOS Game Sneak Peek: “Smash -a- Mush” by David Gamez, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.5 Mexico License.
I’ve developed a couple of applications and games for Android, and I’m now porting them over to iOS. You mentioned you’re using vector graphics. Most of my research and testing so far has shown that vector graphics should be avoided at all costs. They really kill performance. Are you using a lot of vectors in your game? What kind of frame rates are you getting?
Hi Patrick,
No I did not use Starling it wasn’t available for mobile development at the time I did that game, for the Mushrooms I did a custom class for BlitAnimation but I’m not really happy with the results either, I’ll give it a go with Starling and share the results
Cheers’
Dave
Hi jake,
Vectors are a no go for iOS I used vector animation only for the instructions screen but inside the “game” I had to go for pixel graphics and blitting to have the best performance. Maybe this changes with Starling will give it a go and share the results.
Cheers,
Dave
cool. I have been looking into spriote sheets and when done right they seem to have incredible performace benefits on mobile.
For instance I installed Waster Invaders from the source code on Adobes site here http://gaming.adobe.com/getstarted/
and it runs AMAZING
I also followed this guys Starling tutorials
http://www.hsharma.com/tutorials/
and again the performance is just fantastic.
I am working on a capabilities demo in Starling to see if it will work on a larger scale app. I will let you know my results as well. I’ve learned quite a bit lately by sharing results on blogs like this one.
Talk soon
- P
cool game Dave, I am starting to make games too. I will soon be making games for kids learning, I hope it turns out okay. good to see you blogging again
Pretty cool game, do you know tutorials about develop games? Thanks
Thank You John,
We hope to be releasing 2 or 3 games that we are working on (With a kid leaning focus too) before this year ends.
I just couldn’t help it so I’m blogging again.
Cheers,
Dave
Thanks Israel,
I’m working on writing more tutorials on game development soon, so stay tunned
Cheers,
Dave
Hello Patrick,
Yeah I think is a mix of technics somethings need “Standard” animation while the others times you must use sprite sheets in order to achieve the best performance.
I’m taking a look at Hemanth’s tutorials it’s a really good intro to Starling.
Good to hear about Your capabilities demo, can’t wait to see the results.
Cheers,
Dave
can you please give me a list of website which provides open source as3 games..
8:57 am
what technique are you using for the animations for the mushrooms going up and down? The animation doesn’t look smooth. Unless that was intentional.
Are you using Starling? I’m curious about your techniques since I am looking to publish iPad games and apps using Air.
Thanks!