ruffle-rs / ruffle

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

3D Rally Racing - snow track screen slowly fades to white #14873

Open BeardedFish opened 9 months ago

BeardedFish commented 9 months ago

Describe the bug

When playing the snow track on the game 3D Rally Racing via Ruffle, the screen slowly fades to white which makes the game unplayable after around 1 minute.

image

Expected behavior

On native Flash Player 32, the screen should not become fully white.

image

Content Location

https://andkon.com/arcade/racing/3drallyracing/

Affected platform

Browser's extension

Operating system

Microsoft Windows 10 Version 22H2 (OS Build 19045.3930)

Browser

Microsoft Edge Version 120.0.2210.144 (Official build) (64-bit)

Additional information

No response

n0samu commented 9 months ago

See the doSnow function on frame 50 => DoAction[5]. This is drawing a texture to a bitmap using DisplacementMapFilter, then overlaying the screen with that bitmap. Since the bitmap is in the "mrs" movieclip, you can toggle its visibility in the Ruffle desktop app's debug tools to turn the screen back to normal.