Dialog positioning [SOLVED]

Started by milkanannan, Sat 09/04/2005 03:36:44

Previous topic - Next topic

milkanannan

Hello - I've searched the forums and the manual but can not find a solution to this problem.  I am using Lucas Arts style dialog and was wondering if there is some way to position it in a particular area of the screen i.e. (EGO, x, y)

Any help greatly appreciated

strazer

DisplaySpeechAt (see manual)

milkanannan

thanks strazer, must've missed that in my searching

strazer

#3
Quote from: hello123 (via pm)sorry to bug you, strazer, but DisplaySpeechAt does not seem to be in the manual.  I can only find DisplaySpeech

It's in my v2.62 manual, directly after the entry for DisplaySpeech. Which version of AGS are you using? In AGS v2.7, it's called Character.SayAt

milkanannan

v2.61

I would like my main character's dialog to ALWAYS be at a specific coordinates (at the bottom of the screen).  Any suggestions how to do that?  I can't seem to use DisplaySpeechAt when programming dialogs

thanks

strazer

Quote from: hello123 on Sat 09/04/2005 04:24:47I can't seem to use DisplaySpeechAt when programming dialogs

That's true.
You could script your own dialog system, but I don't know of any easy, practical solution.
A request for a similar feature was made already, so be sure to add a comment and show your support.

milkanannan


strazer

I just read your comment.
Since you're making a first-person perspective game, you could just position a dummy character at the very bottom-left, outside the screen.
This way, his speech will be displayed in the lower-left corner of the screen.

milkanannan

hey strazer, i've actually been trying that but unfortunately, the text will not go any lower than a certain point (not low enough).  the dummy character is really small, too so I don't understand why this is happening

strazer

If I remember correctly, when a character is outside the screen, his speech overlay will be aligned to the screen edge he is closest to. It doesn't matter if he is big or small, he just has to be completely outside the visible screen area.
Try setting his y-coordinate to 1000 or something.

milkanannan

coincidence - i just tried it and it worked!  thanks for the suggestion, you're a genius ;D

strazer


SMF spam blocked by CleanTalk