Hi, I'm porting a project over from GMS 1.4 into GMS 2 and things have generally been going smoothly.
One annoyance that I can't seem to find any existing mention of is that any of my SWF sprites that draw to the GUI aren't holding their masks in properly. This wasn't an issue in GMS 1 and this isn't an issue when drawn in a normal Draw event.
As you can see, the HP bar is flying way off past its limit. The quality is lousy in that picture because I just set up a new project and I haven't used any of the setup codes for .swf quality.
There's nothing special in the draw events. This new project just has two objects with a draw_self(); and draw_sprite(Sprite1, -1, 500, 500);, but the GUI one draws without a proper mask.
I believe this is a bug, but I'm holding out for some saviour to tell me that there's some kind of draw_gui_mask_enable magic line of code that will fix my game's UI. I've tried re-exporting and re-importing the .swfs in different versions but to no avail.
BONUS: The "HP" text is also supposed to match the colour of the bar. It seems anything that's been tinted in Flash/Animate with the "tint" feature (which apparently includes coloured text) has its RGB values messed with. This also was not an issue when using .swfs in GameMaker 1. Anyone have any thoughts on how to fix that?
One annoyance that I can't seem to find any existing mention of is that any of my SWF sprites that draw to the GUI aren't holding their masks in properly. This wasn't an issue in GMS 1 and this isn't an issue when drawn in a normal Draw event.
As you can see, the HP bar is flying way off past its limit. The quality is lousy in that picture because I just set up a new project and I haven't used any of the setup codes for .swf quality.
There's nothing special in the draw events. This new project just has two objects with a draw_self(); and draw_sprite(Sprite1, -1, 500, 500);, but the GUI one draws without a proper mask.
I believe this is a bug, but I'm holding out for some saviour to tell me that there's some kind of draw_gui_mask_enable magic line of code that will fix my game's UI. I've tried re-exporting and re-importing the .swfs in different versions but to no avail.
BONUS: The "HP" text is also supposed to match the colour of the bar. It seems anything that's been tinted in Flash/Animate with the "tint" feature (which apparently includes coloured text) has its RGB values messed with. This also was not an issue when using .swfs in GameMaker 1. Anyone have any thoughts on how to fix that?