Getting started on a GUI

Started by paolo, Sat 25/08/2007 11:15:24

Previous topic - Next topic

paolo

I'm about to start developing a GUI for basic controls (walk, save, open inventory, etc) and am looking at the help file (selecting "GUI" from the Index tab in help, giving me the page "Editing the GUIs").

This page says "In the GUI Editor, you will see several buttons..." but I don't see any of the buttons mentioned. What I do see (having clicked on GUIs in the game editor menu) is buttons for adding controls to a GUI, an "Edit script" button, a couple of check boxes (Clickable, Text Window) and a magenta rectangle. There is also a floating window (GUI 0) with a list of attributes in it.

Am I looking in the wrong place?

What I want to be able to do is import an image and use that as my GUI - how can I do this?

Thanks for any help.

Ashen

The 'Editing the GUIs' page needs updating. From V2.7 on, the Import/Export GUI buttons don't exist - they're now in the 'GUI' menu on the menubar (along with New GUI and Delete GUI).

However, that's nothing to do with the background image. On the 'floating window with a list of attributes on it', one of the attributes is 'Background Image'. Click that to set the background image for the GUI. (You import the image in the same way you do for characters, objects, etc - in the Sprite Manager, not the GUI Editor.) If you don't see the 'Background Image' option, make sure you haven't got a control selected; the top of the window should just have the GUI number and the number of controls on it if any, e.g. 'GUI 0 (2 Controls)'. If it says someting like 'GUI 0 Control 0 (Button)' click on an empty part of the GUI and try again.
I know what you're thinking ... Don't think that.

paolo

OK, thanks for that. I'm getting along fine with it now.

SMF spam blocked by CleanTalk