Xray, but I want to put the player in the shoes researcher. Okay, here the description: green - photosynthetic or easier plant, producents; yellow - herbivorous, eat greens, consuments of first order; red - predators, eat yellows and grays, consuments of second order; gray - reducents, eat corpses of dead microbes.
Benjii, I work not only in this direction.
It still move by straight lines and change velocity only when colliding with borders. I said about changing velocity all time when moving. Also, always cathing one and the same fish, which progressively become super-fast, looks weird. And would be good, if the fish change angle by the direction of it's moving.
This is most original request for help, I ever seen.
Here is your script:
c := e.other.color;
color = [(color(0) + c(0)) / 2, (color(1) + c(1)) / 2, (color(2) + c(2)) / 2, 1];
e.other.color = color
Lol, I not registered on forum.
I think error occured because you forgot ; symbol after "scene.my.AnyOf= (array, variable)=>{
for(string.length(array),(i)=>{array(i)==variabe})?"there's something equal":"there isn't anything equal"
}" <- right here