Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Rainbow Guy on Sat 07/08/2004 19:00:59

Title: GUI Buttons Don't Line Up
Post by: Rainbow Guy on Sat 07/08/2004 19:00:59
Hi, so i thought i'd have a go at doing my own interface thing. So i created a button and gave it an Image and a MouseOverImage, but when i test it, it does swop the images but not when the cursor is fully over the Image.
The "area" is the right size but its shifted up and to the leftÃ,  ???

What am i doing wrong ?

====
Update : O.k. i seem to have it nailed down to the GUI backgroung image (when i used a small image it works ), but its the right size and all the Graphics line up
Title: Re: GUI Buttons Don't Line Up
Post by: Darth Mandarb on Sat 07/08/2004 23:53:43
Make sure that image(s) you're using for the buttons are the same size as the button you created on the GUI.

Meaning, if you create the button graphics at 80x40 you need to make sure the button you create in the GUI is the same size.Ã,  Otherwise the mouse will detect the button before you're over the graphical area.

Double check that the sizes match up first ... that would be my guess.