Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: tilapisha on Fri 10/03/2023 16:59:17

Title: Transparent buttons in custom GUI? [SOLVED]
Post by: tilapisha on Fri 10/03/2023 16:59:17
Hi, I have added a custom GUI to recreate Wordle within my game.

(https://imgur.com/a/G4DhgR4)
https://imgur.com/a/G4DhgR4


How do I make these buttons transparent/ white with no drop shadow?
I assume it has to do with the button classes, because that is where I changed the textColor, but I'm not sure where to find this documentation.

Thank you <3

[SOLVED]: I just uploaded a custom image for each button of a transparent png!
Title: Re: Transparent buttons in custom GUI?
Post by: Cassiebsg on Fri 10/03/2023 17:10:00
I can't see the image so I can't see the problem, so I'll just give a general reply instead.

Use a background empty image, no text on the button.

Edit: LOL, you must have edited your post while I was typing. :D
Title: Re: Transparent buttons in custom GUI? [SOLVED]
Post by: Khris on Sat 11/03/2023 11:07:28
(https://i.imgur.com/lpeCi9x.png)

1. right-click the image and click "copy image location" to get the URL
2. put the image in your post like this:
Code (bbcode) Select
[img width=300]https://i.imgur.com/lpeCi9x.png[/img]
Also note that you can auto-generate the button images using scripting; there's no need to manually create 26 images :)