Quantcast
Channel: Fighting Game Discussion — shoryuken
Viewing all articles
Browse latest Browse all 2146

programing fighting game inputs

$
0
0
hello everyone
I'm not sure if this is the right place to ask this but here we go

so I'm trying to program a fighting game just for a proof of concept project and I'm not quite sure what's the best way to interpret quarter circle, srk, half circle and such commands.

I've been testing different fighting games that i have and I've noticed that my inputs don't have to exact.
im using the number notation, hope its right
789
456
123

for example i want a srk and do
61236+P, my input goes all the way back and i end in forward but i still get a shoruyken (which i want) instead of a hadouken even though a quarter circle is in that motion

I did some reading on some srk wiki well this one
http://wiki.shoryuken.com/The_King_of_Fighters_XIII/Game_Elements/Command_Interpreter

and the game assigns priority to different moves

so i was thinking would the best way to do it is to read the directions after the button press and determine which move to come out based and the assigned priority?

if anyone knows a thing or two about it I'd love to discuss it, or if you can point me to any more detailed info on how fighting games interpret inputs that would also be great

sorry for wall of text

Viewing all articles
Browse latest Browse all 2146