Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / know animation well please help!!

Author
Message
koolaid
23
Years of Service
User Offline
Joined: 26th Jan 2003
Location: Cyberspace
Posted: 8th Apr 2003 13:49
i need to overcome my confusion on playing animations and appending the models in db if you know anything please help me,i will specify what is going on thanks.
arras
23
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 8th Apr 2003 14:41
You have to be more specific...

koolaid
23
Years of Service
User Offline
Joined: 26th Jan 2003
Location: Cyberspace
Posted: 9th Apr 2003 04:20
well i dont get it really my model of this guy(my main character)he has several aniamtions(attack,walk,idle,dying)i cant append all of them to it correctly.i want the model to play the idle when im not moving the walk when i hold down up botton and shoot when i push a key say ("a" key)but if im walking i want that animation to stop if i push shoot.and also if not moving when the idle is playing for it to stop if i push shoot.thats what ive been trying to accomplish for so long.when the model goes from the last frame to the first how can i smooth that transition so its not so jumpy its so noticable.thanks alot for any help you can provide me with.
arras
23
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 9th Apr 2003 14:02
for diferent animation modes like walk and idle ect. you should know on which frame is for example walk starting and on which frame is finishing. Then you use LOOP OBJECT command like this:

loop object 1,6,25

1=object number
6=starting frame
25=finishing frame
-in this example walk animation starts at frame 6 and finish at frame 25
I am not sure, but may be you have to use set -SET OBJECT FRAME 1,6- in front of loop comand. Since set object frame command is crashing my computer I am not sure about it.

For smooth transition between frames you use SET OBJECT FRAME with OBJECT INTERPOLATION command. As I sad, set obj. frame is not working for me for unknow reason so you have to find it out yourself, which is sure not so dificult if you read DB help and see examples given there.

Bye the way, DB help is made WERY good and most of the questions you may have are answered there. Just take time to read it.

arras
23
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 9th Apr 2003 14:04
And yea, there are existing commands like STOP OBJECT and PLAY OBJECT too, which may be of good use to you too.

Login to post a reply

Server time is: 2026-06-11 15:09:34
Your offset time is: 2026-06-11 15:09:34