Animation

Started by GT, Sat 24/09/2005 03:22:07

Previous topic - Next topic

GT

I have been trying for a while to create a simple animation flick in my game without success. What would be the best way to start? I presume that some of easiest ways would be if a character interacts with an object that releases a character view, runs an animation loop, sets an idle animation or starts an object animating. I haven't had any success with any of these yet. I would be grateful for any advice. Thanks

Janik

I'm going to assume that you already know how to make views. Here's an example for animating a character:

//First, set the view that holds the animation
cCharacter.LockView(12);

//Start the animation: Here it's loop 1, with a delay of 2
cCharacter.Animate(1, 2, eOnce, eBlock, eForwards);

//Return to the previouse idle view
cCharacter.UnlockView();

For an object, you use .SetView(#) and don't need an UnlockView (though you may end up using SetView again to reset to the old view.

Hope this helps!
Play pen and paper D&D? Then try DM Genie - software for Dungeons and Dragons!

GT

Thank you for your reply.
I know how to make views in as much as asigning a view to a particular character.

I don't really know anything about script and I guess that the information you gave me needs to be included into a script to work.
Is there anyway to activate an animation by using the simple point and click interface :o?

Candle


SMF spam blocked by CleanTalk