Sprites with alpha channels

Started by Lufia, Sat 02/10/2010 15:02:44

Previous topic - Next topic

Lufia

So, here's a GUI background:


Here's a button:

And here's how it looks like in Photoshop and AGS:


I clicked on "use alpha channel" when I imported the sprites. Am I doing something wrong, or is this an engine limitation, or what?

Matti

There's always been a problem with alpha-channel GUIs on top of other GUIs. I don't know if there's a workaround or if the problem was even solved and I'm quite interested myself since I have to deal with that issue too..

Lufia

Well, damn. There's a "workaround", which is to put a black background in my button sprites. No transparency, no problem. But still, bleh. =/

Buckethead

You can also put the button on top as an extra gui but in this case your solution is probably better.

Baron

I've seen various threads (example) that purport to have solved this issue with using an alpha channeled GUI background.  Your background looks like it might have an alpha-channel, but it's hard to tell with the white border against the light blue background of the post.

     At any rate, I've also had no success in getting alpha-channel buttons to work on GUIs, so I'm afraid I can be of no further use.  I'd be very interested in seeing where we've been going wrong, though, since it does seem that some people have figured this out.

Dualnames

I've had some problems, but I think it all goes down that GUI buttons can't inherit alpha channel. I may be wrong now, but at least it couldn't be done 1 year ago.

Yeah, it's been a long time since I used that kinky stuff on a gui button. It probably misses my sweet coding.

Coming honey
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Baron

Well, what's going on here, then?  It sure looks like they're playing around with alpha-channels on GUI buttons, but having said that it doesn't seem to work for me when I attempt to employ the methods described.  Can anyone definitively clarify where AGS sits in terms of alpha-channels on GUI buttons as of version 3.2?

SMF spam blocked by CleanTalk