Combos?
Is it possible to create an actor that has sword combos when a button is pressed numerous times?
If so... How would i be able to create combos?
If so... How would i be able to create combos?
Best Answers
-
tatiang Posts: 11,949
Okay, so did you try my suggestion? You can also use the game.time or actor's self.time to determine how long it has been since the first slash and then award a connected attack if they do it quickly enough.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
-
tatiang Posts: 11,949
That one's really up to you. You can constrain a sword actor to a position near the main character actor and have it rotate or move (jab) in a certain direction, but there are other ways to make a sword attack (e.g. Animate).New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
So make a logic like..
when A is pressed..
after 0.5 sec,if B is not pressed (not run to completion) do A action..
after 0.5 sec, if B Action is pressed too, do combo..
u'll have to do a little trial.. also look for topic 'Timer-for chumps' it'll help u tremendously.
Let me know if something like this worked..
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User