7508 posts
Location
Australia
Posted 15 December 2012 - 06:14 PM
Does anyone know if its possible to define you own custom colours when it comes to setting the terminal text or background colour?
For example is he using a C style string printing or where a hexadecimal can be parsed and that defines the colour?
Thanx in advance :)/>
1190 posts
Location
RHIT
Posted 15 December 2012 - 07:01 PM
Nope. Custom colors aren't featured in this version of ComputerCraft. I think it's been suggested before, but the devs weren't keen on the idea.
7508 posts
Location
Australia
Posted 15 December 2012 - 07:21 PM
Nope. Custom colors aren't featured in this version of ComputerCraft. I think it's been suggested before, but the devs weren't keen on the idea.
Damn, I was hoping there would be a way. Sometimes 16 colours just isn't enough. From a dev aspect though its not that hard, so hopefully they will add it later :)/>
1619 posts
Posted 15 December 2012 - 08:06 PM
Nope. Custom colors aren't featured in this version of ComputerCraft. I think it's been suggested before, but the devs weren't keen on the idea.
Damn, I was hoping there would be a way. Sometimes 16 colours just isn't enough. From a dev aspect though its not that hard, so hopefully they will add it later :)/>/>
I think it may be a limitation to Minecraft. You always see the same colors…
8543 posts
Posted 15 December 2012 - 08:07 PM
From a design/networking/ease of use standpoint, it simply isn't going to happen. There are some very good reasons why 16 colors is the way to go.
7508 posts
Location
Australia
Posted 15 December 2012 - 08:18 PM
I think it may be a limitation to Minecraft. You always see the same colors…
Well its actually not a limitation to Minecraft, I have been experimenting in my Mod and with LWJGL and its quite easy to render ANY colour you want thats on the (r, g, b, a) scale.
From a design/networking/ease of use standpoint, it simply isn't going to happen. There are some very good reasons why 16 colors is the way to go.
The "very good reason" for 16 colors is Mojangs fault. They decided to write their own format of NBT and only allow the meta data of blocks to be a nibble long, meaning 16 values. As a result they only implemented 16 coloured dyes. they could add more, but would have to use a different item id because of their setup. However since rendering a colour to the GUI has nothing to do with the NBT data, i see no reason why it cant be any colour. Also in terms of design and networking, there is no difference, all colours are either (r, g, B)/> or (r, g, b, a) changing the colour doesn't change functionality or how the colour is transmitted.