Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: monkey0506 on Fri 24/09/2004 01:49:47

Title: Non-square GUI buttons? Also, long color...
Post by: monkey0506 on Fri 24/09/2004 01:49:47
Is it possible to have non-square GUI buttons? Because, upon checking against the source for my GUI (The Secret Of Monkey Island CD), I realized that the buttons should ONLY be highlighted if the cursor is over the text of the button. Also, I have another question. Is there a better color for me to use that AGS #593918287? I'm aiming for 7B2C7B, and that's the closest I can get. It's off by 3 green, but the green appears to change by units of eight. Thanks for help with either problem!

EDIT: Regarding how I came up with such a long number for the text color, I realized that the AGS palette has more than just 15 colors, the unit of change is just small. Needless to say, 79 (yes, 79. It's actually more, but I got tired of trying new numbers, then making a new document and pasting it, and just started using layers...) Photoshop layers, a worn-half-to-death Prt Scrn button, and 2 saggy eyes later, I'm only 3 (7B297B instead of 7B2C7B) green away, but I don't think it's possible to change the green color by 1 is it?
Title: Re: Non-square GUI buttons? Also, long color...
Post by: Scummbuddy on Fri 24/09/2004 04:20:42
as for the gui, just have two buttons. one on top of the other, and just have it when you are hovering over the top button, which would only show to be text, to highlight.
Title: Re: Non-square GUI buttons? Also, long color...
Post by: Goot on Fri 24/09/2004 04:23:57
Are you in hi color or higher? You can use the color finder thing where the pallette usually is to get the right green.
Title: Re: Non-square GUI buttons? Also, long color...
Post by: monkey0506 on Sat 25/09/2004 02:22:15
Nevermind... I got the same color at AGS(31055). This is (0x7B297B) or R:123, G:41, B:123 at high-color 16-bit. This number is much shorter than 593918287, but the same color! Thanks! Regarding the buttons, I looked closer, and the buttons are square, they just have a background image, so I don't need two buttons for each button. I just need to edit all my pictures and then figure out the new fangled co-ordinates.