Dinogeddon: Colors are incorrect on last frame #9304
Labels
A-rendering
Area: Rendering & Graphics
bug
Something isn't working
regression
Something was working before, but is now broken
Describe the bug
Link to SWF: https://www.dolldivine.com/games/dinogeddon-premNoGallery.swf
In Dinogeddon, Ruffle renders the colors incorrectly on the last frame of the menu. The colors are correct on all of the other frames.
Steps to reproduce:
In Ruffle, it looks like this:
Expected behavior
The frame is supposed to look like this. The background colors are supposed to be the same as the previous frames. (Ignore the different-looking girl - her appearance is randomized)
Affected platform
Desktop app
Operating system
Windows 10
Browser
No response
Additional information
This seems to be a problem with Ruffle's implementation of the Overlay blend mode. The menu sprite is sprite 1908, and its last frame is frame 12. On that frame, there are 3 PlaceObject3 tags with the Overlay blend mode:
Changing their blend mode to Normal makes the problem go away. I think their blend mode is being applied to the entire screen instead of just the sprite they are placing.
Also, this seems like a similar issue to #4464. That game also uses PlaceObject3 tags with a blend mode (Erase).
The text was updated successfully, but these errors were encountered: