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

#1 2011-02-19 14:54:42

neon0the0hedgehog
Scratcher
Registered: 2010-10-10
Posts: 8

how can I make a computer player

I need someone to come up with a computer intelligence script for my EARTHBOUND games.




Any ideas?

Offline

 

#2 2011-02-19 15:22:15

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

Re: how can I make a computer player

What does the computer player need to do? Will it move, attack, make decisions, talk, etc? Once you've answered that, we can give you some advice.


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

 

#3 2011-02-19 15:52:04

jazed13
Scratcher
Registered: 2011-01-14
Posts: 20

Re: how can I make a computer player

yea what he said and plus in your picture that ending part has to be [/img]


Subscribe To The Scratch Tuturial Groups's Channel! http://www.youtube.com/user/Jazed13?feature=mhum
http://i1199.photobucket.com/albums/aa463/Jazed14/Subscribe.pnghttp://i1199.photobucket.com/albums/aa463/Jazed14/aspoKWEJ.gif

Offline

 

#4 2011-02-20 06:21:37

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: how can I make a computer player

Here is one by me:
http://scratch.mit.edu/projects/colorfusion/1246653
Here is another no by me and completely different:
http://scratch.mit.edu/projects/94legomaster/561327

You need to be a bit clearer than just "computer intelligence script for EARTHBOUND "

Offline

 

#5 2011-02-20 09:12:11

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

Re: how can I make a computer player

EARTHBOUND has turn based AI, right?

That shouldn't be too hard, just make it randomly choose a number between 0 and 1.  If it's 0, run a normal bash attack.  If it's one, run it's special attack.


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

 

Board footer