ruffle-rs / ruffle

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

Mario Mirror Adventure - Broken Screen Flipping #12381

Open skiesofravens opened 1 year ago

skiesofravens commented 1 year ago

Describe the bug

mario-mirror-adventure.zip (mario.swf is the extracted game file, while mario-mirror-adventure.swf is the original swf with the actual game embedded as binaryData)

This game features a mirror system, where the level turns in a pseudo 3D manner and places Mario in front of the other mirror. This effect is completely broken in Ruffle, and as a bonus when you do appear on the other side of the mirror, your controls are inverted.

XDxot8svE4

Unable to determine if there is an engine in use here, the script names are pretty obfuscated.

Expected behavior

dPWM5NXFzI

Affected platform

Desktop app

Operating system

Windows 10 22H2

Browser

No response

Additional information

Occurs on Nightly standalone build 2023-07-28.

Lord-McSweeney commented 1 year ago

This is due to these two stubs:

Encountered stub: AVM2 flash.display.DisplayObject.rotationY getter
Encountered stub: AVM2 flash.display.DisplayObject.rotationY setter