oeed / CraftOS-Standards

Community standard file formats, communication systems, etc. for ComputerCraft and CraftOS 2.0
Other
20 stars 16 forks source link

Adding transparent colours on nft format #70

Open Marco4413 opened 4 years ago

Marco4413 commented 4 years ago

Adding what was mentioned on issue #69

oeed commented 4 years ago

Hmmm the main issue I have really is that NFT is something that's already pretty widely used and wasn't even created by any of us; so nothing would really change.

Worth noting though that (if memory serves correct) you can just use a space character for transparent foreground.

Marco4413 commented 4 years ago

You're right but having transparent background and using a space character would mean "don't modify that pixel" and that's what I need. Now I've got a question, what if the color specified isn't a valid hex... Should the color be set to transparent, should the program error or should it use the last color that was set to text/background?