Jim Blackler
Jim Blackler

Reputation: 23179

Convert Flash art to OpenGL-ready vector format?

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?

Upvotes: 2

Views: 4093

Answers (4)

George Profenza
George Profenza

Reputation: 51867

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

Upvotes: 2

Riley
Riley

Reputation: 9

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.

Upvotes: 0

Ben Lesh
Ben Lesh

Reputation: 108501

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.

Upvotes: 0

Percutio
Percutio

Reputation: 954

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.

Upvotes: 3

Related Questions