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

Overlay Does not work on the top half of the screen when using parallax. #1676

Open
Mothlematic opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Mothlematic
Copy link

As Described, rather just vanishes or acts really strange.

@Mothlematic Mothlematic added the bug Something isn't working label Jan 24, 2025
@RichardULZ
Copy link
Contributor

Sadly not fixable, and not a bug.
The window layer is stuck to the bottom right corner of screen as part of the hardware limitations.

Parallax slices require a scanline interrupts to set the backgrounds scroll position as the screen is drawn
Overlay Top requires a scanline interrupt, to count how many lines before it should disable the window/overlay.
Dialogue at bottom also uses a scanline interrupt to hide actors below a certain line, if the overlay window is full width.

Unfortunately, we can only have one scanline interrupt at a time, and it must be fast enough to check 160 times a frame, so you can only use one of the 3 at any one time.

You will have to design around that,
perhaps draw text to the background?
or disable the borders and use text commands for a smaller text window at the bottom.

If you believe i have misunderstood the issue, try following the issue template and attach screenshots, otherwise please close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants