Hey guys.
I want to make a 2D fighting game just like street fighter style. I’ve got basic idea how to make it, but i’m not sure if it’s gonna work, looking for a better way.
Thanks!
Hey guys.
I want to make a 2D fighting game just like street fighter style. I’ve got basic idea how to make it, but i’m not sure if it’s gonna work, looking for a better way.
Thanks!
Don’t know exactly which issues you’re struggling with, but perhaps this article will have something useful for you.
Thanks. The article is great, but i’m struggling with combo like forward + punch will show different animation, and enemy will act different when get hit by different combo. I‘m sorry if i didn’t make it clear.
Well, it’s basically the same state machine techniques as shown in that article; the state machine is just a lot bigger. For example, from idle, pressing “forward” moves you into the “moving forward” state, but if you then get a “punch” input within a certain time window, you switch to the state representing that combo.
Similarly, when you get hit, depending on what state you’re in and what sort of hit it is, you switch to the appropriate hit state.
That sound easier, Thanks.