Animspeed Change?

Talk about making games.

Animspeed Change?

Postby jimmynewguy » Thu Jun 05, 2008 3:42 am

is there a way to change an animations speed during the game? thnx
:D

ps: mr green rules lol jk :mrgreen:
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Animspeed Change?

Postby pyrometal » Thu Jun 05, 2008 3:52 am

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.
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: Animspeed Change?

Postby feral » Thu Jun 05, 2008 4:06 am

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
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: Animspeed Change?

Postby feral » Thu Jun 05, 2008 5:28 am

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
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: Animspeed Change?

Postby jimmynewguy » Thu Jun 05, 2008 8:24 pm

thnx guys :mrgreen:
gosh pyrometal u answer to everything i ask i feel bad now lol
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Animspeed Change?

Postby pyrometal » Fri Jun 06, 2008 3:13 am

lol, thats fine, np!
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest