Hi
I tried to draw an image with the flags MASKEDIMAGE and DYNAMICIMAGE, so its not smoothed, that worked fine until today.
Its about a thing like dynamite, where I want to show particles when it's thrown. I implemented them and then it struck me, that I can't find the proper values to unset SetBlend, I think.
I thought this were the standard values of these expressions, but when I call the method, the dynamites mask is black and its somehow blurry. Looks like the color "white" is standard, because it then doesnt affect the dynamite when its drawn. removing SetBlend fixes it, so it must be SOLIDBLEND, that's not correct.
What do I have to do to draw the dynamite, which shan't be affected, properly?
Thanks in advance!
---
Edit:
It's MASKBLEND, not SOLIDBLEND. It's working now. I'm wondering why I didn't look at the help ...
I tried to draw an image with the flags MASKEDIMAGE and DYNAMICIMAGE, so its not smoothed, that worked fine until today.
Its about a thing like dynamite, where I want to show particles when it's thrown. I implemented them and then it struck me, that I can't find the proper values to unset SetBlend, I think.
SetBlend LIGHTBLEND SetAlpha Self.alpha SetColor 255, 255, 0 'Draw SetBlend SOLIDBLEND SetAlpha 1 SetColor 255, 255, 255
I thought this were the standard values of these expressions, but when I call the method, the dynamites mask is black and its somehow blurry. Looks like the color "white" is standard, because it then doesnt affect the dynamite when its drawn. removing SetBlend fixes it, so it must be SOLIDBLEND, that's not correct.
What do I have to do to draw the dynamite, which shan't be affected, properly?
Thanks in advance!
---
Edit:
It's MASKBLEND, not SOLIDBLEND. It's working now. I'm wondering why I didn't look at the help ...