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 Professional Discussion / need help! animating in DBP

Author
Message
Sephisel
15
Years of Service
User Offline
Joined: 22nd Dec 2010
Location: 3ds Max
Posted: 23rd Dec 2010 03:56
Hi everyone,

I have a problem with animating my models in DBP.
I know how to make the animation in 3ds max, but i don't know how to make it work inside DBP.

I know the part about load object, loop object, play object...
the part that tricks me is when you want a fluid motion in walking or running.

>>>>>>
wattywatts
17
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 23rd Dec 2010 07:53
Export the animation in .x format and load that in dbp. Is this what you mean?
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 23rd Dec 2010 11:17
You create your animation keyframes from your 3d modeler software, then play/loop object will animate the object using said keyframes.

My signature is NOT a moderator plaything! Stop changing it!
Sephisel
15
Years of Service
User Offline
Joined: 22nd Dec 2010
Location: 3ds Max
Posted: 23rd Dec 2010 17:34
thanks guys,
but the problem is that if I write a loop in the code the model will go back to its starting point which is key frame 0, so the model walks but then when the loop finishes the model goes back to its starting point.

Let me explain myself better,

I want someone to tell me how to code a way to make your character walk using your arrow keys or w.

Let me show you my code.

load object "model/whatever.x",1

do
if inkey$()="w" then loop object 1
loop

if I do that then the model will play its animation, but it will walk its steps forward but when the loop finishes the model goes back... literally..

Any help would be helpful.
thanks

>>>>>>
Sephisel
15
Years of Service
User Offline
Joined: 22nd Dec 2010
Location: 3ds Max
Posted: 23rd Dec 2010 17:40
what I want is someone to tell me how to code in DBP in order to
create a walking motion... just like in this YT video


http://www.youtube.com/watch?v=hLLAdNqb2Bc&feature=related


any help is appreciated.
Sephisel

>>>>>>

Login to post a reply

Server time is: 2026-07-21 20:35:18
Your offset time is: 2026-07-21 20:35:18