Animation tools - Flash import?
Hi folks,
I'm looking into a way of getting simple position/scale/rotation information into my game from an external editor of some sort. Flash would seem to be the obvious choice for an editor, but I have little experience with its file formats.
- Is importing from Flash .swf an insane idea?
- If so, is there a better alternative (I'm likely to code my own if it's too hard)
- If not, are there any resources anyone could point me to?
Thanks, as ever for any opinions or help!
I'm looking into a way of getting simple position/scale/rotation information into my game from an external editor of some sort. Flash would seem to be the obvious choice for an editor, but I have little experience with its file formats.
- Is importing from Flash .swf an insane idea?
- If so, is there a better alternative (I'm likely to code my own if it's too hard)
- If not, are there any resources anyone could point me to?
Thanks, as ever for any opinions or help!
Importing from Flash might be insane, but if you're set on it, SWF isn't a completely asinine format to parse: http://www.adobe.com/devnet/swf/pdf/swf_...ec_v10.pdf
Pfft... I'm certainly not set on it. I like my remaining hair. I'd like it to stay where it is. If there's an easier way, I'm all ears... and eyes. Indeed, I'm a freakish sensory machine waiting for input.
Thanks for the link!
Thanks for the link!
SVG is easy to parse and there are already libraries to do so. Inkscape and Illustrator are good programs to look at -- Flash may also be able to export to SVG.
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
http://www.w3.org/Graphics/SVG/
http://librsvg.sourceforge.net/
In my programs I just parse a small subset of SVG for only certain simple entities - lines, rectangles, circles. That's not many lines of code to do that.
Good luck!
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
http://www.w3.org/Graphics/SVG/
http://librsvg.sourceforge.net/
In my programs I just parse a small subset of SVG for only certain simple entities - lines, rectangles, circles. That's not many lines of code to do that.
Good luck!
Well, he didn't want shapes so much as animation information it sounds like. Unfortunately this sounds like the sort of thing that you will have to write your own editor for. I'm not sure if I know of anything that does quite what you want.
Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Skorche Wrote:Well, he didn't want shapes so much as animation information it sounds like. Unfortunately this sounds like the sort of thing that you will have to write your own editor for. I'm not sure if I know of anything that does quite what you want.
Or alternatively, I suppose I could write some Blender plugins...
Is Gameswf of any help?
It plays flash and compiles for iPhone but I haven't tried it myself
http://sourceforge.net/projects/tu-testb...p/download
It plays flash and compiles for iPhone but I haven't tried it myself

http://sourceforge.net/projects/tu-testb...p/download
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| draw and import SVG in Cocoa | Chandhu | 4 | 3,564 |
Feb 27, 2008 04:52 AM Last Post: kuon_ |
|

