Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: nOOwy on Mon 29/09/2003 18:19:44

Title: Problems with cutscenes and GUI
Post by: nOOwy on Mon 29/09/2003 18:19:44
Hi

I've got 3 problems with AGS and I can't find solution in totorial. Please help me!

1) When the title screen appears and player chose new game I wan't to screen go black and  few massages appear. What should I do to achive that? I've created new black room but what    should I do to display some messages withot moving cursor or clicking?

2) When charachter enter some location for first time. How I can make him to immediately say some text and move to certain place before player takes control?

3) When I point with mouse cursosr certain hotspot I want to display his name on the top/bootom    of the screen. What should I do?

nOOwy
Title: Re:Problems with cutscenes and GUI
Post by: Scummbuddy on Mon 29/09/2003 21:30:08
1.  On that black room, you could use speech and overlays with if statements.  Go to the manual and under the tab for search, in the search field look up "overlay functions"

CreateTextOverlay
RemoveOverlay

2.  In the room interactions window you will need to set up another if statement that will check a room variable that will be start at 0, and when you do the check and it equals 0, then say the line of text, and then set the variable to 1.  Next time you enter the room it will do that if statement, but since it does not equal 0, the text will not be displayed.

Hope this helps.
Title: Re:Problems with cutscenes and GUI
Post by: Timosity on Tue 30/09/2003 06:21:13
2. Also for this one, if it only happens the first time you enter the room, you could put the messages, movements, whatever else in 'First time player enters screen' in the rooms interaction editor (that's probably the specific purpose of this built in function)

3. Have a look in the manual under "Editing the GUIs" - 'Interface text'

and something like '@OVERHOTSPOT@ Name of the hotspot which the cursor is over'

If you read that bit I'm sure it will help

Good luck

~Tim
Title: Re:Problems with cutscenes and GUI
Post by: nOOwy on Tue 30/09/2003 11:28:59
Thaks for help. I've managed to solve 1) and 2). And now I'm working to solve 3).