★ TouchArcade needs your help. Click here to support us on Patreon.

Porting Flash games

05-14-2009, 01:23 PM
Joined: Oct 2008
Location: PA, USA
Posts: 744
Porting Flash games

I created a game in flash a while ago. Let's say I update it to work better on an iPhone. Is porting it from Flash to iPhone pretty much like starting over from scratch? Just curious. I assume it speeds up the process a little since you'd already have the assets like sounds, music, graphics, and the logic in place.

Thanks for any insight!

MAX 3D Artist in Training
05-14-2009, 02:14 PM
Not for sure what other people's experience is with this but I wrote my own Flash interpreter. The most difficult part, for me anyway, was the action script event handling.

Solomon Perry, Business Development Manager, GhostDog Studio

Pocket Rocks available from iTunes
"Game of the year!" - homeless guy on 5th St.

Last edited by ghostdogstudio; 05-14-2009 at 05:40 PM.
05-14-2009, 03:31 PM
Actionscript shares some similarities to objectiveC, in syntax at least. SOME, mind you... not a lot. But for the most part I have been able to pull game logic from actionscript and drop it into objectiveC with only minor changes.

That being said... this only works for scraps of code here and there. For the most part yeah, you'll be starting over if you want to create a native iPhone app from a Flash app.
05-14-2009, 06:56 PM
Joined: May 2009
Location: Palmerston North, New Zealand
Posts: 464
We had similar experiences with Sheepish in that we pretty much started from scratch. Like you said the process is sped up a bit because of not having to produce assets but there is generally some time involved in rehashing your interfaces for a smaller/differently proportioned screen.

As deadweight says you can pull out bits of code and just tidy the syntax but any code that is tied into the interface will need to written from scratch pretty much.

At least the second time you code the game you know how everything works and you've already figured out the solutions to problems you encountered the first time so that in itself saves a LOT of time!