Grayscale drawing...how?
Posted:
Sat Apr 04, 2015 11:58 pm
by JWinslow23
In the beta branch of the Gamebuino library over at Github, it mentions a color GRAY. How do I use it with drawing commands? It would be nice to see how it would work with all drawing commands. Thank you.
Re: Grayscale drawing...how?
Posted:
Sun Apr 05, 2015 10:17 am
by Sorunome
Looking at the source it seems like you have the color GRAY for setColor.
https://github.com/Rodot/Gamebuino/blob ... play.h#L65So try something like gb.setColor(GRAY)
Re: Grayscale drawing...how?
Posted:
Mon Apr 06, 2015 9:53 am
by rodot
Yup, you can use the color GRAY (only in the beta branch so far), you can find some explanations and an examples on the
gb.setColor page of the
Reference.