Don't understand setAlpha

Monkey Forums/Monkey Beginners/Don't understand setAlpha

muruba(Posted 2015) [#1]
Hi all,

Can't understand why the circle and image are complete opaque with Alpha value of zero:

[CODE]
SetBlend (AlphaBlend)

SetColor(Self.color.r, Self.color.g, Self.color.b)

SetAlpha(0)

DrawCircle(Self.position.x, Self.position.y, Self.radius)

DrawImage(image, 200, 200)
[/CODE]

Thank you!


therevills(Posted 2015) [#2]
Your code looks okay...

Heres a full runnable example:



muruba(Posted 2015) [#3]
Thanks man, need to investigate further...


therevills(Posted 2015) [#4]
No problem, let us know how you go.