Sign in to follow this  

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

This topic is 1940 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 [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img]) 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
I've never used it, but Marmalade has a demo app that plays a simple video.

It looks like the SDK supports simple playback if the [url="http://www.madewithmarmalade.com/marmaladesdk/features/audio-and-video"]codec is present on the device[/url].

Share this post


Link to post
Share on other sites
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
[quote name='wodinoneeye' timestamp='1343365551' post='4963516']'least common denominator' codec[/quote]Any suggestions then?

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

This topic is 1940 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this