Page 1 of 1

Colored console messages (e.g. player.print) for 0.15

Posted: Fri Sep 16, 2016 9:32 pm
by Mooncat
I see you are working on (or planning to work on) rich text support for GUI in 0.15. I hope the console can also be benefited.

When you see something like this in your console:
WeNeedSomeColors.png
WeNeedSomeColors.png (905.63 KiB) Viewed 1670 times
you also wish them to have colors, don't you? :lol:

With rich text, I hope we can give the console messages some colors, like

Code: Select all

player.print("{color=#FF0000}This is red.{/color} and this is white.")

Re: Colored console messages (e.g. player.print) for 0.15

Posted: Fri Sep 16, 2016 10:01 pm
by aubergine18
That will be a dream for other things too, like EvoGUI, and if we can get it on floating text it would be sweet. Would be nice if we could also pass colors in via locale strings, for example:

-- cfg file:
some.str = blah {color=__1}__2{color} blah

Can we also get font tags too? That way it would be trivial to add in characters from glyph fonts, as well as set their color.