How do I make fighting game AI? Is it possible?

Get help using Construct 2

Post » Sat Aug 29, 2015 8:44 am

Hi, so I was thinking about making a fighting game... Would love for it to have AI/vs computer mode, but for the life of me I have absolutely no clue how to approach that. Is it possible? Has anything similar been done? Thanks for your input!
B
11
S
2
G
1
Posts: 172
Reputation: 1,486

Post » Sat Aug 29, 2015 9:57 am

B
17
S
7
Posts: 280
Reputation: 2,522

Post » Sat Aug 29, 2015 4:46 pm

This a very complex problem with often times very complex solutions, though there's nothing technically stopping you from implementing such a system in C2. It would probably be of some benefit to look at tutorials for video game AI in general -- not specifically for C2, as the important concepts are separate from implementation.

A simple system might keep track of the player's recent moves and make decisions based on that. More complex systems may use an artificial neural network to learn and adapt.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,126

Post » Sat Aug 29, 2015 9:49 pm

Do a search on "State Machine". I saw something on it here. I don't know how good the article is but that's your answer.
B
6
S
2
G
1
Posts: 26
Reputation: 633


Return to How do I....?

Who is online

Users browsing this forum: Coren8r and 28 guests