Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: zeta_san on Thu 06/08/2020 10:55:53

Title: ActionBar inside gMain[solved]
Post by: zeta_san on Thu 06/08/2020 10:55:53
Hi all friends, I chose the scumm classic action bar to have it fixed as zak mckracken and maniac mansion.
I wish it wasn't at the top but inside.
I have attempted graphic changes to the gMain but the location is always above.
I opened VerbGui.asc and saw UpdateActionBar ()

if you want the text inside instead of above?

I attach images

(https://i.ibb.co/QvXtmGf/ags.png) (https://ibb.co/QvXtmGf)
Title: Re: ActionBar inside gMain
Post by: Khris on Thu 06/08/2020 12:32:39
First, add
Code (ags) Select
  Verbs.ToogleGuiStyle(0); // yes, toogle ;)
to  game_start.

Next, set gMain's BackgroundColor to 16.

Finally, import this sprite (https://i.imgur.com/HE1D66u.png) and set it as BackgroundImage for gAction.
Title: Re: ActionBar inside gMain
Post by: zeta_san on Thu 06/08/2020 13:08:50

sorry, I add in the game_start of all the rooms?
Title: Re: ActionBar inside gMain
Post by: Khris on Thu 06/08/2020 13:43:08
No, just in GlobalScript.asc

(room scripts don't have a game_start function)
Title: Re: ActionBar inside gMain
Post by: zeta_san on Thu 06/08/2020 14:55:14
Thanks