Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Crimson Wizard on Mon 20/04/2009 16:21:09

Title: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: Crimson Wizard on Mon 20/04/2009 16:21:09
As a result of some mistake in script I occasionally found that:

1. If you use Sierra-style dialogs, and...
2. (perhaps) 'Run game loops while dialog options are displayed' general setting is ON, and...
3. Your player character stands in large scrollable room, and...
4. Some character speech displayed, and...
5. Player character continues to move, causing room background to scroll,

then following occurs - speaking character portrait stays on same place relative to screen coordinates, but speech text flows away with the scrolling background.
Title: Re: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: Sslaxx on Mon 20/04/2009 16:23:09
I'm not sure if I fully grasp what the bug is about, but if you could eliminate the player character moving, but keep the background scrolling, the "speech text flows away with the scrolling background" might be an interesting effect to have?
Title: Re: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: Pumaman on Mon 20/04/2009 20:12:50
Interesting, I'll look into it.
Title: Re: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: GarageGothic on Mon 20/04/2009 20:17:21
Dualnames reported a similar bug (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=33142.msg488042#msg488042) in the parallax scroll module thread.
Title: Re: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: Crimson Wizard on Mon 20/04/2009 21:05:35
Quote from: GarageGothic on Mon 20/04/2009 20:17:21
Dualnames reported a similar bug (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=33142.msg488042#msg488042) in the parallax scroll module thread.
Yeah, I have seen 100% same effect as on that screenshot.
It looks like character portrait uses screen-relative coordinates, while speech text uses absolute coordinates of a room.
Title: Re: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: Cassiebsg on Wed 07/12/2016 22:22:06
Sorry to dig up this very very old thread... but I've stumble into this problem "speech text flows away with the scrolling background."... :-X

Is there a way to fix the text to the screen coords? Thanks in advanced. (nod)

PS - I'm using the latest version: 3.4.0.13
Title: Re: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: Crimson Wizard on Wed 07/12/2016 23:24:02
I genuinely believed this bug was fixed long ago...
Title: Re: AGS 3.1.2 SP1: Sierra-style dialog bug during room scroll
Post by: Cassiebsg on Thu 08/12/2016 18:38:06
Well, if it has then I have no idea what is happening in my game, cause my speech text if scrolling away with the viewport. :-\ This makes the text hard to read... I suppose I can try and put the speech in a GUI as a label, and then figure out how to add the speech files...

I'm using SierraTransparent, btw.


EDIT: Okay, Gurok said I should make a small example of it... so...
http://www.mediafire.com/file/6y2autjx113xgi3/Test_ScrollingBGText.zip

EDIT2: Okay... seems like I need to actually have a portrait view set for the text to stay put. :-\