Download:
http://www.miensoftware.com/files/rb/animationbuilder.sit
What's new?
- Morph to State
- Add wireframe setting in Builder
- Fixed bug with unsmooth interpolation in game
- Fixed several animation bugs
- Save As now works
Finally add animation to your RB games with ease! Build and view the
animation from the AnimationBuilder and then import it into your game.
How easy?
1. Add the Animation3D classes to your project
2. Make sure the super classes of all the objects you want animated
is a Animation3D
3. Load the animation you created using the Animation Builder by
calling .LoadFromFile(f as folderitem)
3. Call the .UpdateAnimation(timepassed as double) in your game loop
to update the animation
4. Call the Play, Stop, and SetAnimationState(name as string) methods
to control your animation
Animation States:
SetAnimationState(name as string)
MorphToState(name as string, Duration as double)
Support for Level of Detail:
- Set the level of detail in game with the method:
SetLevelOfDetail LOD//1=High 2=Medium 3=Low
Checking the state of your animation:
- Animation3D.isPlaying as boolean
- Animation3D.CurrentAnimationState as AnimationState
- Animation3D.SelectedAnimationIndex as integer
Playback options for AnimationState:
- AnimationState.isLooping as Boolean
- AnimationState.isReversed as Boolean
- AnimationState.isLoopBackAndForth as boolean
- AnimationState.SetPosition(Time as double)
- AnimationState.SetFrame(frame as double)
- AnimationState.FrameCount as integer
Cloning:
Animation3D.Copy as Animation3D
To do:
- Support for multi texturing
Notes:
The 3D Animation Builder uses the MBS Plugin collection for the multi-
folderitem dialog box. If you would like to modify the code, make
sure you have the MBS plugin or remove that section of code and
replace it with the standard single folderitem dialog box.
Author:
Lo Saeteurn
lo at miensoftware dot com
www.miensoftware.com
Please do not use my sample zombie animation. It is only there for
demonstration.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|