How do you delete all of the GUIs???

Started by wotmeworry, Mon 29/09/2008 09:43:08

Previous topic - Next topic

wotmeworry

if possible, (which I'm sure it is) how do you get rid of all the GUIs without totally bugging up your game?

I'm making a non-adventure game and I have figured out how to stop the GUIs from appearing. That is until I press ESC while the game is running. This takes me to the "gPanel GUI"

I tried deleting the GUIs (right clicking in the node tree and selecting delete) but that scews everything up due to all the stuff in the Global Script about the GUIs. I tried deleting all that mumbo-jumbo in the Global Script but that only further demolished my game.

please help me!!

Khris

Don't delete random stuff without knowing what you're doing.

In the global script, there's a function called no_key_press(), look for blocks starting with "if (keycode==27" and delete those to remove reactions to the player pressing ESC.
Similar for other keys: http://www.adventuregamestudio.co.uk/manual/ASCIIcodes.htm

Pumaman

Just leave them for now, until you get more comfortable with scripting. Once you've been using AGS for a couple of months you should have no problem coming back to it and having the scripting knowledge to remove the GUIs with ease.

Alternatively you could start your game from the Empty Game template instead of Default Game, which doesn't have any GUIs to begin with.

SMF spam blocked by CleanTalk