Open n0samu opened 1 year ago
The level button clips have these large bounds because of the size of the Bitmaps within them:
Setting the large Bitmaps to invisible fixes the problem. I think Ruffle should not be considering transparent pixels of bitmaps in hit testing.
Describe the bug
Link to SWF: http://i.notdoppler.com/files/outofwind.swf
In Out of Wind, it is difficult to click the button to start the first level, because movieclips for two of the locked levels are layered above it, preventing the click from reaching the button. Here is a video demonstrating it using Ruffle's new "debug rect" feature:
https://github.com/ruffle-rs/ruffle/assets/71368227/b8380ed3-eb2a-4161-9339-6f52c288e6e9
Expected behavior
Clicking anywhere on the level 1 button should activate the button, even if it's within another movieclip's bounds.
Affected platform
Desktop app
Operating system
Windows 10
Browser
No response
Additional information
No response