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

#1 2011-05-17 17:09:50

isabela_taffy
New Scratcher
Registered: 2011-03-25
Posts: 4

need help

Im making a fighting game and in need help so the cpu fights back

Offline

 

#2 2011-05-17 17:38:07

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: need help

i'll make an engine for that soon.


the the the the the

Offline

 

#3 2011-05-20 20:03:15

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: need help

upload your project, come back and link to it in your post


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#4 2011-05-20 20:10:11

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: need help

A computer AI player is a pretty general concept - there's a lot of ways to go about it, and it depends on the game. The basic concept is to tell the computer how to act under certain conditions. For example, you might have a script that has several options for what the computer should do if the enemy is right in front of it: jump over, run away, or attack.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer