Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Import

Flash?

Resources Import, formats, techniques and optimisation

Flash?

Postby Guinner » 29 Apr 2012, 01:32

I've done a search and nothing came up.
But I want to animate a 2D object in my game, is there a way to import an animation from Flash or a similar program?
Thanks.
Guinner
Junior Boarder
Junior Boarder
 
Posts: 36

Re: Flash?

Postby dreamora » 29 Apr 2012, 08:24

Yes just drop the image into Shiva.
As there is no 'automagic animation' it doesn't matter where it comes from, all it needs to be is an image strip / sprite sheet so you can program your UV animation basing on it
I'm no stonetrip representative, just a happy board member like you :)

If you find my portfolio interesting, feel free to contact me or follow my shares on my twitter stream or my game development blog
User avatar
dreamora
Platinum Boarder
Platinum Boarder
 
Posts: 844

Re: Flash?

Postby broozar » 29 Apr 2012, 08:59

there is no direct import from flash *.swf. however, you can import movies as textures, as well as import a sequence of still image files and glue them together using the textureStrip method dreamora describes. if you need to animate an image for a 2d character, i can recommend this tutorial,

http://www.stonetrip.com/developer/forum/viewtopic.php?f=42&t=24932
User avatar
broozar
Platinum Boarder
Platinum Boarder
 
Posts: 3517
Location: Berlin - Germany


Return to Import