This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-05-25 21:21:32

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

How do I make a fighting game A.I?

I am trying to make a fighting game and I can't start it without an A.I.<mouse down?><mouse x>

Offline

 

#2 2011-05-25 21:28:29

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: How do I make a fighting game A.I?

AI are very complex things to create, there's no one way of doing it.  Before we can help you we need to know exactly what it's capable of doing, what it's limits are, what it needs to do, and so on.  It would be very difficult to give you an acceptable answer with just the instructions "it fights".


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#3 2011-05-26 00:22:58

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: How do I make a fighting game A.I?

I suggest making a weak or 'low level' A.I. first.  Just a little ai that doesn't know the controls very well, and moves around back and forth in a random order, and just hits random buttons so you have something to build up from.  It will be much harder to make a more difficult A.I., because it'd have to be able to sense what the player's doing, and respond accordingly to it.


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

Board footer