2

Say I have some 2D artwork in Flash CS4 format .FLAs, and I'd like to put it into an iPhone game that uses OpenGL ES, keeping it in vector format. An OpenGL-ready format could just be a list of vertex positions and colors for a triangle strip.

Is there a converter available that can do that easily?

Jim Blackler
  • 22,946
  • 12
  • 85
  • 101

4 Answers4

3

You could port gameswf to iPhone, it supports most SWF tags, it loads and renders in OpenGL. It's coded in C++ so it's easy to embed it into your iPhone application. Be warned that's it's usable but it has its limits.

Percutio
  • 979
  • 7
  • 8
2

Claus Wahlers's project looks pretty cool, check out: https://github.com/claus/as3swf/wiki/shape-export-to-objective-c

ca logo swf

ca logo app

RamC
  • 1,287
  • 1
  • 11
  • 15
George Profenza
  • 50,687
  • 19
  • 144
  • 218
0

I would recommend converting the swfs to .svg format, Either in Illustrator, or with this online tool. I actually used a small java console app to automate this part for what I had to do recently, it worked pretty well.

Once that's done, you can use Qt to do the rendering bit for you as commented on here.

Community
  • 1
  • 1
Ben Lesh
  • 107,825
  • 47
  • 247
  • 232
0

You could use smokescreen to convert the flash to html5, and then use the stock HTML viewer found In interface builder. Just my 2 cents.

Riley
  • 9
  • 1