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

#1 2010-03-14 21:43:16

J808
Scratcher
Registered: 2009-06-17
Posts: 17

AI script for fighting game

I need help making an AI script for a fighting game I know alot but not to much about AI scripting
additional info about the game will come later its like street fight but halo style

Offline

 

#2 2010-03-15 12:34:58

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: AI script for fighting game

When trying to make AI, think what you would do in a position.
For example, if your x position is less than the enemy x position and you're pretty far away, do you increase your x position?


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#3 2010-03-15 14:38:03

masterhand7
Scratcher
Registered: 2009-10-05
Posts: 100+

Re: AI script for fighting game

Try to think about how you want to design your enemies. For example, if you have a foot soldier, you would want to program him so he does little damage, misses frequently, and has an easily predictable attack and defense method. An elite soldier would have a variety of techniques used randomly and quickly that deal a lot of damage to the player. Also, in AI scripting, you want to think of an enemy as a person. Is he cautious, staying back and striking occasionally, or is he ferocious, attacking the player head-on and dealing many moves at once? Think about it.


Click here to see the first iPhone virus!
http://www.danasoft.com/sig/MASTERHAND7PWNZ.jpg

Offline

 

#4 2010-03-15 16:09:05

Greenboi
Scratcher
Registered: 2010-01-30
Posts: 1000+

Re: AI script for fighting game

This should go in troubleshooting or collaboration....

Offline

 

#5 2010-03-25 18:06:59

J808
Scratcher
Registered: 2009-06-17
Posts: 17

Re: AI script for fighting game

sorry i was working on the CPU but my computer froze so i have to figure out every thing

Offline

 

Board footer