Translucent Sprites (SOLVED)

Started by , Thu 21/09/2006 08:54:58

Previous topic - Next topic

Scurvy_Software

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).

strazer

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.

Ashen

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.
I know what you're thinking ... Don't think that.

Scurvy_Software

Yeah.... i knew that....   :-[

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


zabnat

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.

Scurvy_Software

OK thanks guys, that's working great.
Excuse my noob-iness.

SMF spam blocked by CleanTalk