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.

Newcomers DBPro Corner / animation help

Author
Message
shadow 1993
18
Years of Service
User Offline
Joined: 5th Apr 2006
Location:
Posted: 29th May 2007 22:33 Edited at: 29th May 2007 23:07
right well i got my figure to play the a animation while holding down a key, (thanxs, the full metal coder roxas). but when i let go my figure stays in the frame it was currently in. i want it so when i let go it resets the animation to just standing, not with his leg out. plz help.

edit: i will show the movment code if it makes it any better for you 2 help me
Existence
17
Years of Service
User Offline
Joined: 20th May 2007
Location:
Posted: 29th May 2007 22:42
I had the same problem until this morning You must have something like this in your program so it idles when your not holding down the key


I just kind of took this code from my program where the arrowkeys are the moevement keys and mouseclick is attacking.

I'm still very new at DBPRO and have not posted much, but please tell me if it works.
shadow 1993
18
Years of Service
User Offline
Joined: 5th Apr 2006
Location:
Posted: 29th May 2007 23:28
yes it does thanx dude i just need 2 change idlestart,idleend and im away thanx dude u helped alot.
Existence
17
Years of Service
User Offline
Joined: 20th May 2007
Location:
Posted: 29th May 2007 23:29
np always great 2 help.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th May 2007 23:40
Hallo friends...the only thing you have to do in order to animate your model by different animations, is to be sure that you specify the first and last frame for your desire animation in every moment

something like:

loop object my_object,20,30


where we have to prepare our model runing for examlpe from frame 20 to 30....and so on

an example worth more than thousand words. i hope it can be useful for you.

oh my god

Attachments

Login to view attachments
shadow 1993
18
Years of Service
User Offline
Joined: 5th Apr 2006
Location:
Posted: 29th May 2007 23:44 Edited at: 29th May 2007 23:46
thanks cafari but i have now encounted another problem! When i hold the upkey and the left or right key 2 move diagonlly it goes slower and the animation stops so hes gliding it was working fine before but the new code its stopped anyhelp? asi cant see what went wrong

Login to post a reply

Server time is: 2024-09-26 22:46:18
Your offset time is: 2024-09-26 22:46:18