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

#1 2008-06-14 17:20:42

Nick60
Scratcher
Registered: 2007-06-17
Posts: 100+

Automatic AI solution!

You guys needs varibles

Lets say..

Make a sprite that has the varible if AAI = 1
broadcast AAS

Make a new thing..

When i receive AAS
move 1-9 spaces
if touching border set AAI = 0

Something like that so it tells it not to walk and AA1 = call for walking and AAS broadcasts it.


Let's  Be Blue!

Offline

 

#2 2008-06-14 17:26:59

dbal
Scratcher
Registered: 2007-07-19
Posts: 100+

Re: Automatic AI solution!

Nick60 wrote:

You guys needs varibles

Lets say..

Make a sprite that has the varible if AAI = 1
broadcast AAS

Make a new thing..

When i receive AAS
move 1-9 spaces
if touching border set AAI = 0

Something like that so it tells it not to walk and AA1 = call for walking and AAS broadcasts it.

This solution doesn't seem to link to a posted problem.  Which previous post does this post relate to?


Dick Baldwin - Don't get stuck scratching. When you master Scratch, move on up to more serious programming languages. Free online programming tutorials:
Scratch - Alice - Java - C# - C++ - JavaScript - XML - Python - DSP

Offline

 

Board footer