Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: abstauber on Fri 12/12/2008 21:12:15

Title: DialogOptions surface doesn't like transparency
Post by: abstauber on Fri 12/12/2008 21:12:15
As I was making this module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36228.0),
I've encountered a little bug.

It seems, that the special dialog surface has a problem with transparent areas.
(http://blog.sonores.de/wp-content/uploads/2008/12/customdialog_bug1.png)

The text is fine on the disc, but messed up on the transparent side.
But I can wipe away the garbagepixels with the cursor :)
Title: Re: DialogOptions surface doesn't like transparency
Post by: Pumaman on Fri 12/12/2008 21:14:18
Are you doing a Surface.Clear call in your dialog_options_render function?
Title: Re: DialogOptions surface doesn't like transparency
Post by: abstauber on Fri 12/12/2008 21:18:33
I've tried that too, using a surface.clear(COLOR_TRANSPARENT) gives me the same result.

But the screenshot is from using surface.DrawImage
Title: Re: DialogOptions surface doesn't like transparency
Post by: Pumaman on Fri 12/12/2008 21:47:31
I'll see if I can reproduce this, however I'm quite busy at the moment so I'll try and look into it later in the week.
Title: Re: DialogOptions surface doesn't like transparency
Post by: abstauber on Fri 12/12/2008 21:52:23
Sure,
I'm not in a hurry.

Who's not busy at the end of december ;)
Title: Re: DialogOptions surface doesn't like transparency
Post by: Pumaman on Wed 31/12/2008 15:31:17
Sorry it took a while, but I have now verified this as a bug in AGS, and I'll get it fixed for 3.1.2.
:)