|
-
 Originally Posted by redjag
Well, it really depends how you're doing it. If your player is a movieclip and your attack animations are all on one timeline, you can do something like have a variable called attackFrame and set it to the first frame of "Attack 1". Then, have some actionscript in the "Attack 1" sequence set it to the first frame of "Attack 2", and so on. Then when the spacebar is pressed, just use gotoAndPlay(attackFrame).
Alright so if I did it that way, what would the coding look like for "Attack 1?"
(I understand what you're saying but I'm not good at variables.) Only Attack 1 though because it would just be the same coding for the rest except for swapping names and keyframe numbers. Thanks a bunch.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|