Can anyone help me to create a intelligence for the opponent in this game https://dl-web.dropbox.com/get/Super%20Slime%20Soccer.capx?w=AABCP-5ogt30TLg71cI90iD0xL5MAGO2lkJGGwxkOXz4nw I want that the player 2 moves by himself. I use construct 2 r95.
Just to shoot something here , To get it right and before you start , write what you want to do on a paper , list all what the opponent will do ... then start coding them 1 by 1 , Can't help you because I don't have that sheet
I couldn't open the attached link but, assuming from the filename alone that you're trying to create a soccer game, I highly recommend you get yourself a copy of "Programming Game AI by Example" - http://www.amazon.co.uk/Programming-Game-Example-Mat-Buckland/dp/1556220782
Not only is it an excellent introduction to game AI in general, but it has an entire chapter dedicated to creating the logic required for the computer-controlled team on a soccer game.