The Daily Click ::. Forums ::. Digital Works ::. Configuring animations...
 

Post Reply  Post Oekaki 
 

Posted By Message

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  368

VIP MemberCardboard BoxThe Cake is a Lie
5th April, 2009 at 07:59:17 -

...while using the platform movement extension?

First off my homebrewed custom platform movement was as buggy as heck and I couldn't grab the concept of sloping too well. I've decided to just shrug my shoulders over it's mild noobiness- I really couldn't be better off. If it can handle slopes and prove to be 10 times less buggy than MY platform movement then what the hey.

However, hence the title, this does not entirely concern the extension.

I'm abit stumped on how to get the animations working properly. I just don't know the right actions and conditions to make it all cooperate. My main problem is getting all of the animations to play instead just one animation such as stopped playing consistently. The animations...

-Stopped
-Walking
-Running
-Jumping
-Attack

Thanks in advance.



 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
5th April, 2009 at 12:33:27 -

It depends on how you handle the objects movements. One way could run off the X and Y speeds.

If player is not holding run button, if player is standing on the ground; set max X velocity to 100
If player is holding run button; set max X velocity to 200

If X velocity is equal or less than 100, if player is on ground; change animation to walk
If X velocity is greater than 100, if player is on ground and moving; change animation to run

If player is jumping; change animation to jumping.
If player is falling; change animation to falling.

But for any action that tells an animation to play (if it has more than 1 frame) insert into the condition; If Walking (or whatever) animation is not playing.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

dex



Registered
  15/01/2009
Points
  77
5th April, 2009 at 13:26:25 -

That's exactly the method i'm using, happy to know i'm doing it in the right way
Werewolf use this method, it works good for me, i've used it for 2 months and i never got any bug (and i'm still using it of course).
Just remember to add "If animation "whateveryouwant" not playing" to every animation change when you add other animations in the game, otherwise you could get some bugs

Edited by dex

 
n/a

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  368

VIP MemberCardboard BoxThe Cake is a Lie
5th April, 2009 at 19:50:28 -

Awesome. Thanks, guys!

 
n/a

dex



Registered
  15/01/2009
Points
  77
5th April, 2009 at 20:32:00 -

No problem, mate

 
n/a

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  368

VIP MemberCardboard BoxThe Cake is a Lie
5th April, 2009 at 20:52:46 -

Fudgencrud... just realised I posted this in digital works. O_-'

 
n/a
   

Post Reply



 



Advertisement

Worth A Click