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 / FPSC Character Animation Help

Author
Message
CSGames94
16
Years of Service
User Offline
Joined: 27th Dec 2007
Location:
Posted: 10th Aug 2008 21:45
How would you make fpsc characters change movement animations, like if I make a crouch button and press it I would want the same movement keys to move the character from an running animation to an crouch animation.

I tried my best explain this well.
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 12th Aug 2008 03:52
First you need to know what the animation frames are for the character. Then you check if the crouch button was pressed, if it was you use Play Object (runs the animation once) or Loop Object (If you want the object to loop the animation). Then if they use the movement keys you would have to run the frames that hold the running animation.

That should do roughly what you want.

If that was hard to understand here is some pusedo code that I hope makes it somewhat easier...



Hope that helps

Login to post a reply

Server time is: 2024-09-27 18:22:56
Your offset time is: 2024-09-27 18:22:56