ID:272981
Jul 11 2009, 9:59 pm
|
|
i need to learn how to make a combo system for each weapon in my game. i want it to be diffrent combos for each weapon now if someone could explain or give demonstration of how to do this ill thank you.
|
Jul 11 2009, 11:21 pm
|
|
More information please, or I'll just give you a line of code that's not helpful in the slightest. What kind of combo's? What are you stuck on? How do you want them to work?
|
In response to Demon_F0rce
|
|
i need it to be like this.
say i have a keyblade equipped i want to be able to press attack and do a slash maybe horizontal. then i want to press attack again and do a slash thats vertical then again and do a spin attack then again and do a stab. something like this but where the combo changes depending on equipped weapon |
In response to B-mut
|
|
idk if theres another way but heres a way to do
mob i'm just a bigginer and idk if this will work or if it's wat you want |
In response to Jester354
|
|
Then refrain yourself from "helping" others.
|
In response to B-mut
|
|
Sorry for the lateness...
Okay, so first, you need to figure out how many combos you're doing. var/combos_done=0 Done that. Next: you need to add in the combo and damage upgrade. damage2 = damage1+combo For verb/button pushing, simply use a switch() check. |