This sprite is intended for checking pen and touching-color blocks for alignment errors.
In the squeak implementation, the sensor is offset from the pen: a mark at x,y is detected at x-1, y+1
Hit 'a' to test lower-left corner
'b' to test lower-right corner
'c' to test upper-left corner
'd' to test upper right corner
The touching sensor is correct---it detects when it is right over the dot it is supposed to.
The pen is off (or the background is).
The background goes from (-240,-179) to (239,180)
which seems a bit inconsistent.
Java places pen correctly (same background range).
Comments
You need to be logged in to post comments
Add a Comment
This is very interesting! I love your work very good and well put together
(view all replies)Comment Reply
I believe that v1.2.1 of scratch has fixed this bug.
(view all replies)Comment Reply
This explains why I had so much trouble getting my ninja game to work right. I thought it was me! Thanks for the explanation.
(view all replies)Comment Reply
dosen't make anysense
(view all replies)Comment Reply
Cool.
(view all replies)Comment Reply
Haha. So, this says the alignment errors?
(view all replies)Comment Reply