Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 21/09/2006 08:54:58

Title: Translucent Sprites (SOLVED)
Post by: on Thu 21/09/2006 08:54:58
I was thinking it would be ultra mega super duper if AGS supported translucent sprites - like, if you had a button that appeared when a user clicked on something and it was translucent (ghost-like, see-through), but when they put their mouse over the button it became solid. Who's with me??? Anyone???Ã,  Ã,  :(Ã,  Ã, Oh.

Anyway, let me know what you think (and add it to the suggestion tracker, Mr. Moderator Man).
Title: Re: Suggestion: Translucent Sprites
Post by: strazer on Thu 21/09/2006 09:05:21
AGS already supports alpha-channels in 32-bit and 16-bit mode.
Make the image translucent in your paint program, then save it in png format and import it into your game.
Title: Re: Suggestion: Translucent Sprites
Post by: Ashen on Thu 21/09/2006 09:30:41
There's also the Character/Object/GUI.Tranparency properties, which could be used to achieve the 'solid on mouse over' effect. Again you need to have imported the graphics at 16-bit or higher for them to work - they won't work on the default graphics, unless you re-import at a higher colour depth (apart from GUI.Transparency, AFAIK) - but it might be closer to what you're after in that it's changable at runtime.
Title: Re: Suggestion: Translucent Sprites
Post by: on Thu 21/09/2006 09:59:59
Yeah.... i knew that....   :-[

OK, so how do I make my image translucent in Photoshop/ImageReady CS2?
Thanks

Title: Re: Suggestion: Translucent Sprites
Post by: zabnat on Thu 21/09/2006 13:54:00
In short: Make new image. Make new layer. Draw on new layer. Delete background layer. Set layer opacity to something else than 100%. Save as PNG.
Title: Re: Translucent Sprites (SOLVED)
Post by: on Fri 22/09/2006 00:26:50
OK thanks guys, that's working great.
Excuse my noob-iness.