Page 1 of 1

Animspeed Change?

PostPosted: Thu Jun 05, 2008 3:42 am
by jimmynewguy
is there a way to change an animations speed during the game? thnx
:D

ps: mr green rules lol jk :mrgreen:

Re: Animspeed Change?

PostPosted: Thu Jun 05, 2008 3:52 am
by pyrometal
There is a way, but it requires programming your animations from a sprite sheet... I've done something similar twice before (Mazeman and my latest unfinshed game... actually all my games are stubs, lol) If you feel your up to the challenge I can show you, its just a variable system with plenty of switch()/case() statement manipulations applied.

Re: Animspeed Change?

PostPosted: Thu Jun 05, 2008 4:06 am
by feral
how many different speeds do you want ? or do you want completly variable speeds ? in which case you need will need something like pyros post above..

but if there are only a few variations ?

feral

Re: Animspeed Change?

PostPosted: Thu Jun 05, 2008 5:28 am
by feral
jimmynewguy wrote:is there a way to change an animations speed during the game? thnx


I just uploaded a demo to the demo section see
viewtopic.php?f=6&t=5767

should do what you need..

fewral

Re: Animspeed Change?

PostPosted: Thu Jun 05, 2008 8:24 pm
by jimmynewguy
thnx guys :mrgreen:
gosh pyrometal u answer to everything i ask i feel bad now lol

Re: Animspeed Change?

PostPosted: Fri Jun 06, 2008 3:13 am
by pyrometal
lol, thats fine, np!