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

#1 2007-05-24 07:26:24

ukslim
Scratcher
Registered: 2007-05-23
Posts: 1

Dev vs online inconsistency - motion? Color detection?

I wrote a cellular automaton project, but while it's fine in Scratch, it doesn't work on the web site.

I distilled the problem into the demo below:

http://scratch.mit.edu/projects/ukslim/6459

Essentially I am trying to detect marks on the background by moving a sprite onto them and using "Touching color () ?".

In the sample, on my own machine it correctly counts three neighbours, but on the web site it counts none.

Could I do something different, or is this a bug in the applet?

Thanks,
John

Offline

 

#2 2007-05-24 10:15:40

jsimone
Scratcher
Registered: 2007-05-20
Posts: 28

Re: Dev vs online inconsistency - motion? Color detection?

John,

I seem to be having a similar problem as described here:

http://scratch.mit.edu/forums/viewtopic.php?id=361

whereby I put a mark on the background and then show it changing.  This works fine on my machine but fails to work in the online web version.  This must be related in some way and must be an applet bug of some sort.

Joe

Offline

 

#3 2007-05-24 19:28:31

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Dev vs online inconsistency - motion? Color detection?

If it works in Scratch but on on the applet then it is a bug :-)

It would help a lot to isolate the problems you find with the applet vs desktop behavior.  If you do that, we could get it fix much sooner!

Thanks a lot for reporting this guys.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#4 2007-05-25 02:33:20

amyv
Scratcher
Registered: 2007-05-24
Posts: 1

Re: Dev vs online inconsistency - motion? Color detection?

The bug seems to occur with the "is touching color" command if the color (or detecting sprite) is smaller than 4x4 pixels (the size of the grey and white grid boxes in the picture editor) or a line thiiner than 4 pixels wide.

Amy

Offline

 

#5 2007-05-26 02:20:45

Canthiar
Scratcher
Registered: 2007-05-16
Posts: 100+

Re: Dev vs online inconsistency - motion? Color detection?

If it's small then there will be an issue with the colors.  It's most likely related to the issue that I posted here: http://scratch.mit.edu/forums/viewtopic.php?id=295

Offline

 

Board footer