rIKmAN
Member
I know this sounds completely stupid, but could somebody please test draw_set_alpha()?
I was having issues with layer_sprite_alpha() seemingly doing nothing, and ended up working backwards only to find out that draw_set_alpha doesn't seem to work either.
I've just made a test project with 2 rectangles, one set to have an alpha value of 0.2, and another which follows the mouse x/y and goes behind it at 1.0 and should show through, but both stay completely opaque.
Link here to .yyz
It's such a simple thing that I'm thinking it can't be a bug, but then it's only 3 lines of code and it's such an obvious thing that surely it would have been found by now?
I'm wondering whether I'm just being an idiot or whether if there's something wrong with my system, drivers or something - but all other software / games work fine, I have no issues with anything else and would appreciate it anyone could test the .yyz I linked or test the commands themselves and let me know if it works for them so I can track down my issue.
Thanks!
I was having issues with layer_sprite_alpha() seemingly doing nothing, and ended up working backwards only to find out that draw_set_alpha doesn't seem to work either.
I've just made a test project with 2 rectangles, one set to have an alpha value of 0.2, and another which follows the mouse x/y and goes behind it at 1.0 and should show through, but both stay completely opaque.
Link here to .yyz
It's such a simple thing that I'm thinking it can't be a bug, but then it's only 3 lines of code and it's such an obvious thing that surely it would have been found by now?
Code:
// Draw Event
draw_set_alpha(0.2);
draw_self();
draw_set_alpha(1.0);
Thanks!
Last edited: