ruffle-rs / ruffle

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

Positioning issue #17522

Open CrazyOrange opened 2 months ago

CrazyOrange commented 2 months ago

Describe the bug

Now an action should be triggered which does not occur when using Ruffle. As far as I remember, there is a check whether all ingredients are in the oven and whether the oven door is in the correct position.

Expected behavior

If all “ingredients” are in the oven and the oven door is in the correct "closed" position the knob should turn and an animation in the oven should start. Here is a youtube video of the working flash content: https://www.youtube.com/watch?v=UaxbMTO2rLA

Content Location

https://backdirneis.de/rufflebroken

Affected platform

Self-hosted version

Operating system

Windows 11

Browser

Chrome 127.0.6533.120

Additional information

No response

CrazyOrange commented 2 months ago

I moved the original content to: https://backdirneis.de/rufflebroken/ (also edited the bug report). I was able to fix the issue by decompiling and changing the action script from:

if(teig == 1 && erdbeeren == 1 && bananen == 1 && schlumpf == 1 && _root.tür2_mc._y == 263)

to

if(teig == 1 && erdbeeren == 1 && bananen == 1 && schlumpf == 1 && _root.tür2_mc._y <= 264)

It seems that this is a positioning issue when using Ruffle.