How to make bone animation in GE Tutorial

Learn how to make certain types of games and use gameEditor.

How to make bone animation in GE Tutorial

Postby Clokio » Sun Jun 12, 2011 12:13 am

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
Last edited by Clokio on Fri Jul 01, 2011 3:47 am, edited 1 time in total.
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby SuperSonic » Tue Jun 14, 2011 3:03 pm

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
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby Clokio » Wed Jun 15, 2011 9:17 am

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.
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby SuperSonic » Wed Jun 15, 2011 2:04 pm

I'll try that. Thanks :D
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby Clokio » Sat Jun 18, 2011 11:42 pm

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.
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby SuperSonic » Sun Jun 19, 2011 2:58 am

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
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby Clokio » Sun Jun 19, 2011 3:21 pm

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.
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby SuperSonic » Mon Jun 20, 2011 9:31 pm

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:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby SuperSonic » Mon Jun 20, 2011 11:53 pm

So what do you think? :roll:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby Clokio » Tue Jun 21, 2011 3:13 pm

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?
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby MrJolteon » Tue Jun 21, 2011 6:57 pm

Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby Clokio » Wed Jun 22, 2011 12:39 am

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?
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby SuperSonic » Wed Jun 22, 2011 1:37 am

Sure, just give me some time :wink:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby Clokio » Fri Jul 01, 2011 3:41 am

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.
Attachments
jar2.zip
(611.51 KiB) Downloaded 161 times
Untitled.png
Last edited by Clokio on Fri Jul 01, 2011 3:49 am, edited 2 times in total.
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: How to make bone animation in GE Tutorial

Postby Clokio » Fri Jul 01, 2011 3:43 am

File too big ok.
Attachments
jar.zip
(110.96 KiB) Downloaded 168 times
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest