Scavenger hunt with a gui

Started by Ghostlady, Sat 14/03/2009 17:05:57

Previous topic - Next topic

Ghostlady

I am thinking of doing a scavenger hunt in my game.  I will have a list of 10 items that the player will need to find.  I can easily do it with a room but I would like the player to call up the list whenever they wanted to.  I was wondering if this could be done with a Gui.  When the player first starts off, his list will contain all 10 items and then when he finds an item, the gui would pop up and that item would be scratched off.  Any ideas on how to do this?
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven Plantation
Haunting at Cliffhouse

RickJ

This can easily be done with a listbox GUI control.   The manual has a good example/explanation of how to use a listbox.   

Khris

For a graphically more appealing list view, use a GUI with 10 buttons and change their images (or draw the GUI background manually in-game before displaying it).

Ghostlady

So if I go the way of the gui, I should set a global variable and when the player clicks on th correct object, I would swap the images in the gui using code in the global script?
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven Plantation
Haunting at Cliffhouse

Trent R

GUIcontrols (which includes Buttons, Lists, Labels, etc) are available globally, so you can control them in the room script.
Their names should pop up on your AutoComplete.


~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

SMF spam blocked by CleanTalk