How to make A.I. of fighting game

Get help using Construct 2

Post » Wed Jan 27, 2016 12:52 pm

i don't know how to make AI controls in street fighting like game
Help me please
B
39
S
8
G
1
Posts: 23
Reputation: 2,492

Post » Wed Jan 27, 2016 1:20 pm

Basically you need to know what you want your enemy to do under what conditions..
Then all you need to do is write the events and attach the actions..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 27, 2016 1:26 pm

That is pretty interesting topic, I mean the ways to do an AI. What I do is simply think how I want the particular "enemy" to react on particular player's behaviour etc.

Chase the player
For instance I use Pathfinding combined with Line of Sight for my 2d action shooter game to make my horde of enemies to chase my player as soon as he gets close to them. So with combination of two behaviours my enemies have an AI to be agressive.

Attack the player
For non shooting enemies I use "Is Overlapping another object" in order to trigger attack function.

etc... it's all depends on your game.
ImageImageImage
B
27
S
16
G
73
Posts: 974
Reputation: 41,157


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests