Follow-up Comment #2, task #2836 (project wormux):
Hi!
I think the proper way to do the somersault animation is to apply a rotation
on the skin depending on the speed of the skin (so we can make sure his head
is at the bottom, when the skin is at the top of the jump). So, I can quickly
add methods to set a rotation on the skin, if you need it.
The other way to do it would be to describe the animation in the xml file of
the skin and then trigger it when the character do the jump (just needs a
SetMovementOnce("somersault") where the jump begins), but this way won't be
very precise as xml animations are time based..
For the explosions, there are already animations : the skin become black when
the explosion is low, or he flies (sort of) if the explosion is high or when
using the baseball bat. So if you want to see them rolling, it's just a
matter of asking yekcim to make a rolling animation :)
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?func=detailitem&item_id=2836>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna