Have you ever looked at, say, SSBB and seen the combos the characters do? But, you try it in a scratch game and it's just the same attack 3 times? Here's how to make a character do combos.
Let's say a heavy attack is A and a light attack is S. Now, make a list called combo. Implement a script on the player that deletes everything from the list every, say, 0.9 seconds. You can change the time if you want. Now, make it so when the S key is pressed, it adds one item, called L1, (Light 1) to the list. Make the block a "If, else" block inside a forever block. Now the script should be something like "if list combo contains 1 item, switch to costume ???(This is a different costume, because it is the second attack.). EDIT: If you have a health system, this attack could be weaker or stronger. If it's weaker, the next one should be stronger.
Now, this may seem confusing, but, as you get better at scratch, it will start to make sense.
Please move if nesscecary.
Last edited by Bioniclefan4 (2010-05-03 23:51:22)
Offline
Very good!
Offline
Brilliant! These are good instructions.
Offline
Jonathanpb wrote:
Brilliant! These are good instructions.
calebxy wrote:
Very good!
Thank you!
Offline