Code center > Suggestions

Set colour to memory location

<< < (2/3) > >>

Sprotiel:

--- Quote from: Numsgil ---Traditionally Carlo has been vehemetely against it, which is why it hasn't existed yet.  But feel free to add it.  Personally I'd use .red, .green, .blue instead of trying to overload a single .color.
--- End quote ---
I guess I agree with him: having .color is useless from a bot's point of view (there's already .out1 and .out2) and will prevent humans from making sense of the sim.

EricL:
I disagree.  Color opens up a whole catargory of stuff from camoflage to sexual advertisement to relatedness recognition to mimicry.  Having bots set their color and be able to view the color of other bots and other objects and having color influence such things as the visiblity of a bot against a background of liek color would be very powerfull.

Personally, I think there are other, better ways to let the humans see which bots are of the same "species" or to reflect genetic distance between bots, but I will point out that it would be easy to have a toggle between the bot's use of color and the human's use of color.  They need not be the same.

Henk:
Why not link the .outX/.inX sysvars to colours?

Numsgil:
That's actually an interesting idea.  But there are alot of in/out pairs...

Henk:

--- Quote from: Numsgil ---That's actually an interesting idea.  But there are alot of in/out pairs...
--- End quote ---

maybe connect the first 3 to RGB?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version