Problems with cutscenes and GUI

Started by nOOwy, Mon 29/09/2003 18:19:44

Previous topic - Next topic

nOOwy

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

Scummbuddy

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.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Timosity

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

nOOwy

Thaks for help. I've managed to solve 1) and 2). And now I'm working to solve 3).

SMF spam blocked by CleanTalk