Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Secret Fawful on Sun 04/07/2004 16:43:41

Title: gui option questions
Post by: Secret Fawful on Sun 04/07/2004 16:43:41
is it possible to make your own gui that has a fight option   that when you click the fight gui you more fighting options like gun when you click gun you get a bunch of cool gun fighting options like jump and shoot  when you click jump and shoot the character does a cool jump and shoot move   is this even possible ??? ??? ??? ??? ??? ???
Title: Re: gui option questions
Post by: Scummbuddy on Sun 04/07/2004 17:57:03
yeah, but it isnt already made for you, nor automatic. are you using an lec style gui? cause you would just make a copy of the gui and then replace what the buttons say and then change what they would do.
Title: Re: gui option questions
Post by: Secret Fawful on Sun 04/07/2004 19:59:13
i have my own gui it has a horror comedy look
Title: Re: gui option questions
Post by: Mr Jake on Sun 04/07/2004 20:37:15
now you just have to script it then :)
Title: Re: gui option questions
Post by: Goot on Mon 05/07/2004 06:54:35
Look up GUI in the manual. It tell you how to attach scripts to the buttons.
Title: Re: gui option questions
Post by: Secret Fawful on Tue 06/07/2004 17:08:39
what if it were the dott gui
Title: Re: gui option questions
Post by: Scorpiorus on Fri 09/07/2004 22:44:01
The GUI style doesn't really matter - they all are handled by assigning a script for each button:

if (interface == FIGHTINGGUI) {

if (button == 0) {...} // shooting animation
if (button == 1) {...} // jumping animation

}