Convert Flash design to OpenGL-ready format?

Let's say I have a 2D cover in Flash CS4.FLAs format, and I would like to put it in an iPhone game that uses OpenGL ES, saving it in a vector format. The OpenGL-ready format can be just a list of vertex positions and colors for a triangle strip.

Is there a converter available that can do this easily?

+2
source share
4 answers

I would recommend converting swfs to .svg format, either in Illustrator or using this online tool . I actually used a small java console application to automate this part for what I had to do recently, it worked very well.

Once this is done, you can use Qt to do a rendering bit for you, as commented here .

0
source

You can connect gameswf to iPhone, it supports most SWF tags, downloads and displays in OpenGL. It is C ++ encoded, so it's easy to embed it in your iPhone application. Be warned that it can be used, but has its limits.

+3

You can use smokescreen to convert flash to html5 and then use the found HTML viewer in the interface. Only my 2 cents.

0
source

Source: https://habr.com/ru/post/1723196/