SRL Archive - OSR Help

Painting on Smart:/


Mat

2012-03-12 13:47:36

When ever I try this paint:
It always removes the Black background and I don't know why :(
Any idea?
Mat

Brandon

2012-03-12 13:52:20

Yes.. because Black in Smart/Simba is considered transparent so any black pixels will NOT be rendered.. try making them 1 instead of 0.. 0 = black.. 1 = really black but not quite full on black if you know what I mean..

0 is the COLORREF for black convert that to RGB or whatever to get your colour.. 1 is also a COLORREF for black.

Or use a different procedure to render it.. one that will just set the pixels of the canvas to the ones on the bitmap rather than just applying it with the usual function that I see most people using.

Mat

2012-03-12 14:22:39

Cheers Pal <3