ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.49k stars 803 forks source link

Sugar, Sugar: Sugar does not pass through color filter #8735

Open n0samu opened 1 year ago

n0samu commented 1 year ago

Describe the bug

Link to SWF: http://i.notdoppler.com/files/sugarsugar.swf

In level 3 of Sugar, Sugar, the sugar does not pass through the red color filter, instead interacting with it as if it were a wall. Thus the level cannot be completed.

Expected behavior

Sugar should pass through the red color filter and turn red.

Affected platform

Desktop app

Operating system

Windows 10

Browser

No response

Additional information

Tested with #8734.

n0samu commented 1 year ago

Strangely enough, this problem also occurs in Sugar, Sugar 2 but not Sugar, Sugar: The Christmas Special. The latter game seems to work fine. It seems like it must be related to the size of the grains of sugar versus the size of the gaps in the filter. The sugar is supposed to pass through the gaps, but in Ruffle, it doesn't in Sugar, Sugar and Sugar, Sugar 2.

Lord-McSweeney commented 1 year ago

Note that this only happens when Quality is set to High- when Quality is Low, sugar passes through normally, and on Medium Quality, sugar still passes through (though slower than with Low Quality).

gamer191 commented 8 months ago

but not Sugar, Sugar: The Christmas Special. The latter game seems to work fine

It actually does occur in The Christmas Special, but only for some filters. The red filter in level 3 works, but the red one in level 5 doesn't (except in low quality). The blue one in level 5 does work. EDIT: the green and red filters in level 8 work EDIT 2: the red and green filters in level 10 work EDIT 3: the red filter in level 11 works EDIT 4: the red filter in level 13 doesn't work EDIT 5: the blue and red filters in level 15 work EDIT 6: the blue and purple filters in level 16 don't work EDIT 7: the purple and green filters in level 17 work EDIT 8: the orange green and blue filters in level 18 work EDIT 9: the green orange and blue filters in level 19 work level 20: red+green work level 21: red+green+purple work level 23: red+green work level 24: blue+purple+orange work