I need help! How can i get a simple script to check a 3X3 area for 5 different colors? Right now, I have a REALLY long script which moves and than checks. Is there an easier way (I use the stamp function and a sensor)?
And than it keeps checking until it can't find any of the same colors (if you can)
Last edited by Bluestribute (2008-06-27 04:04:27)
Offline
what precisely is it checking for?
as it is only a 3 by3 grid cant you have a small sprite that goes rapidly from each square to the next checking for colours? it could be put on ghost effect if you dont want it to be seen.
if you post the project i will look at it for you.
Offline
Its for his rubiks cube thing.
Offline
Bobby500 wrote:
Its for his rubiks cube thing.
Wrong. i need to check the colors around a certain point.
Offline
bigB wrote:
im still not sure precisely what you are checking for.
all colours the same?
one of each?
Yes. Keep checking if all the colors are the same. Like this:
Blue Blue Blue Red
Green Yellow Blue Orange
Purple Blue Green Red
Now if you click the Blue in the upper Corner, it will check all of he colors around it. When it gets to red, it will stop, but it still has the blue under it. I need it to recognize all the colors next to it
Offline