Posted By
|
Message
|
Fish20
Registered 03/12/2007
Points 263
|
9th April, 2012 at 09/04/2012 04:46:06 -
Whenever I press the button that starts my attack animation too many times in a row, all animation on that sprite freezes and won't restore itself. What should I do?
All your base are in another castle, take this.
|
nivram
Registered 20/07/2006
Points 171
|
9th April, 2012 at 09/04/2012 06:18:47 -
Try "Only one action when event loops"
Marv
458 MMF2 & CTF 2.5 examples and games
http://www.castles-of-britain.com/mmf2examples.htm
|
Chris Burrows
Registered 14/09/2002
Points 2396
|
9th April, 2012 at 09/04/2012 11:00:25 -
Or try adding "plus attack animation is not playing" to the event that starts the animation. That way it can only play once.
n/a
|
Benny Lindberg
Registered 08/11/2010
Points 54
|
20th April, 2012 at 20/04/2012 10:15:58 -
I usually deal with this by having a "default" sprite and an "attack" sprite, and the attack sprite is only visible when you perform the action, and when it is done the sprite becomes invisible, and the action can only be performed when it is invisible. Oh, and when the attack sprite goes invisible, it's animation is set to default.
Did that come out all confusing? Might be unnecessarily complicated.
n/a
|
|
|