ggez / ggez

Rust library to create a Good Game Easily
http://ggez.rs
MIT License
4.21k stars 423 forks source link

Text color is always white #49

Closed AaronM04 closed 7 years ago

AaronM04 commented 7 years ago

Hi, I tried to set text color using graphics::set_color but it doesn't seem to work -- the text foreground is always white.

icefoxen commented 7 years ago

Well that's interesting. I'll check it out. (Sorry for the slow response!)

icefoxen commented 7 years ago

Well gosh and golly, but you are correct! Text is basically a Texture underneath, the same as an Image, and so you would need a set_color_mod() method on it just like Image. But there isn't one.

So I added them and published ggez 0.2.2. Enjoy!

AaronM04 commented 7 years ago

Thanks for the fix! :)