Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lucas-arts speech not visible if character is positioned below the bottom edge of the screen #2538

Open
ivan-mogilko opened this issue Sep 25, 2024 · 0 comments
Labels
context: speech type: bug unexpected/erroneous behavior in the existing functionality

Comments

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Sep 25, 2024

Problem

If a character is positioned below the bottom edge of the screen (completely off-screen), then a speech overlay created by Say command (with Lucas-arts speech style) is not clamped to the visible screen bounds, and apparently is displayed off-screen as well.

This behavior contradicts to other cases, when the character is behind topmost, leftmost or rightmost screen edges, in which case the speech overlay is repositioned to the closest position which is still on screen.

EDIT: I did not test if there's a difference whether character is beyond room's bottom, screen's bottom (there's a case of scrolling room), or room viewport's bottom (in case of a smaller viewport).

AGS Version
Any 3.* version, at least since AGS 3.2.1.

Expected behavior

If character is off-screen, the speech should be consistently displayed at the closest on-screen position.

@ivan-mogilko ivan-mogilko added type: bug unexpected/erroneous behavior in the existing functionality context: speech labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context: speech type: bug unexpected/erroneous behavior in the existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant