07th-mod / umineko-question

94 stars 9 forks source link

[Episode 3] Last line of text ghosted onto screen #167

Open drojf opened 2 years ago

drojf commented 2 years ago

I've seen this issue before - the (P)Onscripter has a built in feature which lets you layer stuff into the screen buffer. If you're not careful, you can accidentally draw the game text into the screen buffer too, leading to this problem.

The user posted a video, but this screenshot should be enough to find it.

(Umineko ep. 3 spoiler) Also this effect behaves a bit weird with the previous line of text faintly showing, and the option button as well if you open the menu. It looks like it's only for those couple of lines so it's just a minor thing. It happens right after the Chiester sisters are summoned My game setup is the same as in the msg link: (OG sprites with PS3 graphics) https://discord.com/channels/384426173821616128/392489134721335306/922640413930709043

Screenshot 2021-12-28 121553

kas0079 commented 2 years ago

It happens again in Episode 4. 20220131213245_1

drojf commented 2 years ago

Hi @kas0079, I think I know for certain what causes this issue now.

This issue will happen whenever the last background image drawn to the screen has some transparency. This seems to happen most often with the above slicing effect image (the various bmp\background\efe\homing*.png images), but it could happen with other images.

The reason it doesn't always happen is that usually the script will draw some image after the slicing images (like pure black or pure white) which clears the screen of the transparency.

I've applied a fix for the two cases you've shown me which I've tested as working.

I haven't attempted to search for more issues of the problem (I don't think there will be that many), but let me know if you find more. If this issue turns out to happen very often I can try to search the game script for when this happens.

kas0079 commented 2 years ago

@drojf Thank you I'll stay on the lookout for more as I make my way through.