Jump to content
  • Advertisement
Sign in to follow this  
NPS

Best way to make and render an animation in the mobile game?

This topic is 2156 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[s]First of all, due to nature of the problem I wasn't sure what category this topic fall into. If I chose wrongl, please let me know or move this thread for me.[/s] Edit: Thx.

Me and my friends are currently creating an android/iOS game using marmalade. We want to add an intro (animation) to it and we're wondering what's the best way to create and render an animation. Probably the easiest way would be for our graphics artist to create an animation in whatever software he likes and save it as *.avi or any film format. Then we would just display the film in game. But after a short research we came to a conclusion that it might be a bit (or very tongue.png) difficult using marmalade. So another idea was to create a 2D animation (as a series of layers and translate/rotate/scale/color&alpha change tranformations) in a 3D graphics software like Blender, save the animation (as keyframe information), then load it in our game and display. But we're not sure if that wouldn't be making a mountain out of a molehill.

So maybe there are easier ways (existing tools?) to create a simple 2D animation and rendering it in the mobile game (with marmalade)? Or, if the idea with Blender is ok, what 3D file format should we use? We need vertex position, texture and texture coords, colour and alpha information. Texture animation would be nice too. Edited by NPS

Share this post


Link to post
Share on other sites
Advertisement
Yeah, the coded-thing is the problem. We've already come across big problems with audio playback due to codec-issues. Theoretically it works and practically not always. :P So we'd like to use a reliable method, if possible.

Share this post


Link to post
Share on other sites
You would think there would be some 'least common denominator' codec that most libraries and devices could fall back on (eating any inefficiency of data sizing and possibly imagesize/quality)

Share this post


Link to post
Share on other sites
if your artist/s use Flash, there are probably a dozen tools covering various ways to bring that animation into a game engine using its sub parts instead of a rendered movie.

I wrote a tool myself that loads a swf and reads the displayobject tree each frame and outputs an XML file to reproduce it (with some limitations).

I think it's a good approach - obviously best for filesize too.

Share this post


Link to post
Share on other sites
Ok first of all marmalade does play videos just fine. The sound loop is messed up but rooAudio provides a temporary fix. I play splash screens just fine on ios. dont know about android.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!