Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: thromgrail on Sat 08/02/2025 02:13:25

Title: BASS template - customized the inventory bar and now every click closes it
Post by: thromgrail on Sat 08/02/2025 02:13:25
In the default behavior, clicking on the right or left arrows doesn't close the bar, but for some reason in my game, it does, after changing the images and size. Very annoying. Anyone have any ideas? Thank you.
Title: Re: BASS template - customized the inventory bar and now every click closes it
Post by: Crimson Wizard on Sat 08/02/2025 02:55:02
There's just one idea I have, if you set the GUI to have PopupStyle "When mouse moves to top of screen" then it has a hardcoded behavior to hide the GUI whenever a button is pressed.
(that's a reason why BASS template does not use this PopupStyle, but scripts bar's popping out itself)
Title: Re: BASS template - customized the inventory bar and now every click closes it
Post by: thromgrail on Sat 08/02/2025 03:42:11
That was it! Thanks so much!