Jump to content

Drawing using BitmapData - Colors.


clark
 Share

Recommended Posts

Hey! 

 

I am making a simple drawing application with a free hand brush. 

I have a png of a grayscale "brush" which I am using to draw to the BitmapData.  It is all good. 

However, if I try to tint my "brush" before drawing, I do not see the tint being applied to the BitmapData when I draw.  I was kind of expecting this somehow. 
 

Do you have any advice on how best to solve this? I was thinking of generating new Textures from my original tinted brush. However, I am not entirely sure how do to this?

Cheers:D

Link to comment
Share on other sites

Hey JUL thanks, but the two are similarly interchangeable. 

I think we will end up using individual coloured artwork of different colors. 

The problem is now the Eraser! I used BlendModes.ERASE in Starling but no equivalent I could see. 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...