ruffle-rs / ruffle

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

Player falls through the floor in Powerfox V.3 #11454

Open grigorig opened 1 year ago

grigorig commented 1 year ago

Describe the bug

See: https://www.newgrounds.com/portal/view/215318

Just start the game and try to play. In a fraction of a second, the player character (the fox) falls through the floor and the game cannot be played properly.

Note: Newgrounds seems to use a Ruffle snapshot from today (2023-06-09).

Expected behavior

Game character should move horizontally.

Affected platform

Self-hosted version

Operating system

Linux

Browser

Firefox 113, Chromium 111

Additional information

No response

Toad06 commented 1 year ago

Thanks for the report.

This is unfortunately a regression introduced in commit c17da6e91a9fbd7f9fb58854b95b6067b3793bb2. The changes made to the winding_number_line function seem to be the cause of the issue.

The following issues are also affected: #8303, #8420.