Free Web Hosting : Free Hosting : Credit Report : Low APR Credit Card  

Logo

Title
 

Navigation

> About
> Games
> Tutorials
> TV and Film
> E-Mail Me

Home > Tutorials > GUI > GUI Tutorial


GUI Tutorial

GUI Interface

Well first we begin by
drawing all our nice little pictures.
As you can see we have Walk, Look At, Interact, Talk, Inventory, Save, Load and Quit.

After designing, and creating all of these we then need to put them to use.

Begin by importing all the graphics into AGS. If you import tham as a PCX file and import them over exsisting, but unwanted, sprites can save file size.


Our next step is to build our GUI. To do this we simply create a new gui in the 'Game' - 'GUI' tab.Properties

To insert a picture as a button create a new button and choose the image you want by selecting the image button in the properties and picking out your chosen sprite. ----->


Once you have done this for all the buttons your GUI should look like this.
\/
GUI Interface

Now we have to bring it to life.

To do this we have to record what each button is. The walking button is called 'OBJECT 0' - as is shown in the properties. We then access the scripts. My GUI script looks like this. You will probably have to edit a few bits. Such as changing the button commands.

>TIPS

  • Always make sure that you do not have two buttons which do two different things doing the same thing, or linked to the same button.
  • When creating the GUI go to the default one and just change what the pictures look like. This make's things a lot simpler, and is how I created my GUI.
  • If you need any further help go to the AGS message boards, or E-Mail Me.

 


© Planet Magintz v1.2 - Gary Chisholm 2002