I just wonder what is the algorithm to create the AI in fighting games (ex: king of fighter, street fighters....). Also, are there any formulas to calculate the difficulty of the AI in those games ?
I just wonder what is the algorithm to create the AI in fighting games (ex: king of fighter, street fighters....). Also, are there any formulas to calculate the difficulty of the AI in those games ?
Hello, testing testing. Everthing is running perfectly...for now
Look for Finite State Machine tutorials on the web. That will do it and they are easy and intuitive to implement.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
I call it the Button Mashing Algorithm. It works wonders and is sure to ........ any gamer off.
Sent from my iPadŽ
Well just think about it. How would you do it? One way could be to have the AI try to figure out the moves the player is performing and either counter-attack or try to defend.Originally Posted by hdragon
As for difficulty, you could try giving the AI a response time and also a random chance of messing up a move.
To make AI harder, most games seem to have them take actions more often, and let them use more complex moves.
Tekken 5 on Ultra Hards is like one pre-defined 10 hit combo after another.
At least they don't juggle.
Sent from my iPadŽ