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

#26 2010-08-11 21:34:56

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

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

Flublusken3416 wrote:

<set{Epic Fail}to(1

That Was An Epic Fail

stop spamming


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#27 2010-08-11 21:35:40

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

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

i have some A.I. enemy projects. Tank like game: http://scratch.mit.edu/projects/murpho/1206433


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#28 2010-11-12 12:25:04

Steelcondor
Scratcher
Registered: 2010-01-21
Posts: 7

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

ais are tough to make if anyone can help me with that sort of thing please help contact me through my project HELP! it will go on <forever if> i never quit

Offline

 

#29 2010-11-12 16:00:13

BlueMouse
New Scratcher
Registered: 2010-11-12
Posts: 4

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

I'm working on an Infinite A. I. System.  smile   It requires Knowledge storage. Or the Character's Persuana type to have a set knowledge, or list of all E-types/sets made contact with. I just need to learn programming XD

Offline

 

#30 2011-02-24 13:31:17

floorboard123
Scratcher
Registered: 2010-11-22
Posts: 4

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

The easiest way to do it is;       


   <when green flag clicked><forever><if><(  <y position><<> y position of sprite one  )><repeat( 10 times)<change y by( 7) then make another script like <when green flag clicked> <forever><point towards( sprite one)<move(  3)steps>    then for him to attack you should do <when green flag clicked><forever><if><( <distance to[ sprite one] <<> 100 )> <broadcast[ attack ]and wait c> then make another sprite like a bullet and do this <when green flag clicked><show><go to[ sprite 2] <repeat( 10) <point towards( sprite one<move( 5 )steps><if><touching[ sprite one] <wait( 0.03 )secsc><hide>

Offline

 

#31 2011-03-02 23:43:38

JRL1283
New Scratcher
Registered: 2011-01-21
Posts: 7

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

you people are getting off-topic, ziggy asked for guidance to reactive opponents, not a debate about the defintion and possibility of creating an A.I.

Offline

 

#32 2011-05-20 23:29:43

robocos987
Scratcher
Registered: 2011-04-08
Posts: 3

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

Hey,I have a have a game where the CPU is an opponent. It has a multi-player mode,and a single player mode(In single player mode,you play against the CPU). The project's link is below:
Link:http://scratch.mit.edu/projects/robocos987/1789662

Offline

 

#33 2011-08-21 13:15:41

HeroReconDude
Scratcher
Registered: 2011-05-25
Posts: 6

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

I'm Making A Game Called Super Flash Bros., In It, I NEED EXTREME Help Within /the CPU Scripting. In It,The CPU Should Be A Random Character(Except Who You're Playing As(Either R.O.B,Mario,Kirby,Luigi,And Sonic)) And, I NEED A CPU Engine As Well With Some SSF2 Luigi Sprites.

Offline

 

Board footer