ITotalJustice / notorious_beeg

gba emulator written in c++23
https://notorious-beeg.netlify.app/
GNU General Public License v3.0
41 stars 4 forks source link

[minish cap] text missing from intro #26

Closed ITotalJustice closed 2 years ago

ITotalJustice commented 2 years ago

the text is missing from the intro. haven't looked into it yet, but likely is a priority issue.

image

as can be seen, the text is rendered on layer 1, but bg2 seems to be layered on top. again, need to check what the priority is.

ITotalJustice commented 2 years ago

it doesnt seem to be a priority issue. layer 1 is below layer 2.

image

ITotalJustice commented 2 years ago

It's probably windowing, which is something i completely forgot about.

ITotalJustice commented 2 years ago

it is windowing.

what the game does is window part of the screen it doesn't want to blend, and then blends everything outside that window. in this case, bg2 is blending onto bg1. this is how the text from bg1 slowly fades in.

here is an example of the window region (filled in white). https://user-images.githubusercontent.com/47043333/161618108-1c650ae9-0f34-4f60-9b4d-f34284cb0b52.mp4

here is my first attempt at blending. image