*STILL* having problems using game.swap_portrait... Help!

Started by BerserkerTails, Sun 14/12/2003 03:17:50

Previous topic - Next topic

BerserkerTails

I'm just learning how to use the Sierra Style dialog... But I'm having trouble swaping the potrait so it's located on the right side of the screen instead of the left. I know it has something to do with game.swap_portrait, unfortunatley I don't know how to use this command! Can anyone help me?

Thanks in advance!
I make music.

Scorpiorus

Just place the game.swap_portrait  = 1;  somewhere (on game start for example)

from now AGS will swap the portrait images when different characters talk.

~Cheers

BerserkerTails

Is there anyway to make the portrait swapped for both characters? The action in the scene is on the left side, and half of the dialog completely covers the characters!
I make music.

Scorpiorus

Well, the only way I know is to set game.swap_portrait = 2; but you need to set it before each new message:

swap_portrait = 2;
DisplaySpeech(EGO, ".....");
swap_portrait = 2;
DisplaySpeech(MAN, ".....");
swap_portrait = 2;
DisplaySpeech(EGO, ".....");
swap_portrait = 2;
DisplaySpeech(MAN, ".....");

it's just a trick :P

~Cheers

BerserkerTails

Scorpiorus: Thanks alot, that helped. Now I'm having another problem though.

The dialog picture I've imported has the character facing right. Now when the dialog picture is on the left side, this is fine... Unfortunatley, when the dialog picture is on the right, it still faces right. I figured, that besides adding "swap_portrait = 2" before messages in which I want the picture to appear on the right, I'd change the character's talking view to a different view in which the dialog picture is flipped to face left. But this didn't work! The picture still faces right! Why is that?

I don't want to upload another dialog picture in which the character is facing right because the dialog pictures do take up alot of space.
I make music.

Scorpiorus

I think AGS just doesn't support flipped frames with the sierra-style speech. :P Or it is supposed to support?!  ::)

SMF spam blocked by CleanTalk