cptx032 / calcium

A ascii/text game library
MIT License
17 stars 2 forks source link

show sprites in true terminal colors #9

Closed cptx032 closed 7 years ago

cptx032 commented 7 years ago

now will be used only two ascii chars: filled, half-filled. We can set the two colors different by setting diferent bg and fg colors to characters (\033[38;2;r;g;bm -> fg, \033[48;2;r;g;b - >bg) https://en.wikipedia.org/wiki/ANSI_escape_code

cptx032 commented 7 years ago

I try this...and is very slow... :( but is nive have only one color too :D