Page 1 of 1

Grayscale drawing...how?

PostPosted: 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?

PostPosted: 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#L65

So try something like gb.setColor(GRAY)

Re: Grayscale drawing...how?

PostPosted: 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.

Re: Grayscale drawing...how?

PostPosted: Sat Apr 11, 2015 8:16 pm
by JWinslow23
Got it, thanks.