Page 1 of 2

How to make bone animation in GE Tutorial

PostPosted: Sun Jun 12, 2011 12:13 am
by Clokio
After that tutorial you will have your 3D animation converted into sprites. That open ALOT of possibilities.
Note: I already tested it, it work. But I never tested it with GE yet.

First get your bone animation a full 3D character. :wink:

Then you need to download a free application FragMotion. I think it still free, but you get a bugging :P once in a while telling you to buy it. But you can keep using it. I have the full version, so I am not sure anymore.

Look at what format you can import. Look at the link.
http://www.fragmosoft.com/


1. In your 3D modeler application export.
2. Export.
3. In FM, import.
4. menu, tool, sprite

Start angle is the rotation of the character around the global y-axis where the first sprite image will be generated.

Spin angle is the amount that the character will be rotated around the y-axis. The increment is equal to the sweep angle divided by the number of rotations.

Width and height represent the 2-D width and height of the resulting image when the camera is looking down the -z-axis at the character in its initial pose.

When the sprite is created an xml file is generated that contains information which can be parsed by a user defined application.

Attachments can be created on the skeleton to save important 2-D positions within the exported images. Attached characters will also appear in the sprite images.

When Uniform Sizing is checked all images in a grid or a strip will have the size of the largest image.

When capturing sprite images from a model using vertex animation it is recommended that Frames be set to match the NumFrames value in the selected animation. This will prevent any interpolation errors.

Show us some results. :D

Re: How to make bone animation in GE Tutorial

PostPosted: Tue Jun 14, 2011 3:03 pm
by SuperSonic
I tried but failed. The problem is that GE wouldn't cut out the background color so I ended up with a monster running inside a pink box :|

I'll try again though and see if I can figure out the problem :D

Re: How to make bone animation in GE Tutorial

PostPosted: Wed Jun 15, 2011 9:17 am
by Clokio
Oh, a background. Maybe the Fragmotion creator can help. support at fragmosoft.com

Maybe to edit each frame with gimp or Paint.net (Both free). select the background then press delete. Then export as png. I guess GE take PNG animation.

Re: How to make bone animation in GE Tutorial

PostPosted: Wed Jun 15, 2011 2:04 pm
by SuperSonic
I'll try that. Thanks :D

Re: How to make bone animation in GE Tutorial

PostPosted: Sat Jun 18, 2011 11:42 pm
by Clokio
It's in theory compatible with http://www.mixamo.com/. If you like a animated model you like there. You can try it with my tutorial.

Re: How to make bone animation in GE Tutorial

PostPosted: Sun Jun 19, 2011 2:58 am
by SuperSonic
I have a model for animation that I found at 3drt so I don't need any more right now. But how do you edit keyframes? The model I have has a bunch of different walk cycles, attacks, etc. all in one animation which is way more than I need :D

Re: How to make bone animation in GE Tutorial

PostPosted: Sun Jun 19, 2011 3:21 pm
by Clokio
SuperSonic wrote:I have a model for animation that I found at 3drt so I don't need any more right now. But how do you edit keyframes? The model I have has a bunch of different walk cycles, attacks, etc. all in one animation which is way more than I need :D


Yes on the pane on the top right, one is called animation. Double click on it. The KEYFRAME EDITOR will appear. Then the edit menu you can insert frame, remove frame. Look at Split animation. Somehow you go manually to find what between what frame you have your animation. ex: 1-10. In the split animation you have a syntax example at the bottom. You then type in the white square. ex:
Walk 1-10 then click save.
I hope it help.

Re: How to make bone animation in GE Tutorial

PostPosted: Mon Jun 20, 2011 9:31 pm
by SuperSonic
http://www.mediafire.com/?z58sdg5ny5zqnsx

Well, here's my poor outcome^^

I didn't have a lot of time to work on it because I'm currently working on a flicky engine for GE :D

PS: This demo was made in the 1.5 prototype so make sure you have it before opening this file :wink:

Re: How to make bone animation in GE Tutorial

PostPosted: Mon Jun 20, 2011 11:53 pm
by SuperSonic
So what do you think? :roll:

Re: How to make bone animation in GE Tutorial

PostPosted: Tue Jun 21, 2011 3:13 pm
by Clokio
SuperSonic wrote:http://www.mediafire.com/?z58sdg5ny5zqnsx

Well, here's my poor outcome^^

I didn't have a lot of time to work on it because I'm currently working on a flicky engine for GE :D

PS: This demo was made in the 1.5 prototype so make sure you have it before opening this file :wink:


Sorry for the delay. Where do I get 1.5?

Re: How to make bone animation in GE Tutorial

PostPosted: Tue Jun 21, 2011 6:57 pm
by MrJolteon

Re: How to make bone animation in GE Tutorial

PostPosted: Wed Jun 22, 2011 12:39 am
by Clokio
SuperSonic wrote:http://www.mediafire.com/?z58sdg5ny5zqnsx

Well, here's my poor outcome^^

I didn't have a lot of time to work on it because I'm currently working on a flicky engine for GE :D

PS: This demo was made in the 1.5 prototype so make sure you have it before opening this file :wink:


Sorry it crash on me in 1.5 and the data was empty :o can you create another one?

Re: How to make bone animation in GE Tutorial

PostPosted: Wed Jun 22, 2011 1:37 am
by SuperSonic
Sure, just give me some time :wink:

Re: How to make bone animation in GE Tutorial

PostPosted: Fri Jul 01, 2011 3:41 am
by Clokio
Ok I had time to test the whole process. That open ALOT of possibilities. :mrgreen:
Here is the setting I did.
I used the JarJar that come with fragmotion to test.

So click On the right panel Animation, on walk.
Menu, tool sprite.
See the images for settings.
For bitmap option
I choose Horizontal.
I check the 2 on the left bottom.
After choose PNG - but unfortunatly it dose not remove background. SO you have a square.
To remove it use Paint.Net and use the wand and select the white block, and press delete. Save.
Then try in GE, for that test I used 5 Horizontal frame (same as set on FragMotion)

The Jar is cleaned. (see next post)
The Jar 2 is 30 Frames, but I din't clean it with Paint.net

I emailed Fragmotion for the white square problem.

Re: How to make bone animation in GE Tutorial

PostPosted: Fri Jul 01, 2011 3:43 am
by Clokio
File too big ok.