ruffle-rs / ruffle

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

Cube Escape Series - 3D Rendering Issues #18359

Open thenickman100 opened 2 weeks ago

thenickman100 commented 2 weeks ago

Describe the bug

All of the games in the Cube Escape series have issues rendering 3D. Whenever a 3D cube is supposed to render, it displays an unfolded box shape. Perspective views are off due to this unfolding effect. Image Image Image Image

Expected behavior

3D cubes should render correctly

Content Location

Games used for screenshots:

https://www.kongregate.com/games/RustyLake/cube-escape-seasons https://www.kongregate.com/games/rustylake/cube-escape-birthday

Affected platform

Self-hosted version

Operating system

Windows 11

Browser

Microsoft Edge Version 130.0.2849.46

Additional information

No response

adrian17 commented 2 weeks ago

I think this is due to these reported stubs:

WARN core/src/stub.rs:144 Encountered stub: AVM2 flash.display.DisplayObject.scaleZ setter
WARN core/src/stub.rs:144 Encountered stub: AVM2 flash.display.DisplayObject.rotationX setter
WARN core/src/stub.rs:144 Encountered stub: AVM2 flash.display.DisplayObject.rotationY setter
WARN core/src/stub.rs:144 Encountered stub: AVM2 flash.display.DisplayObject.z setter
WARN core/src/stub.rs:144 Encountered stub: AVM2 flash.display.DisplayObject.rotationY getter
WARN core/src/stub.rs:144 Encountered stub: AVM2 flash.display.DisplayObject.rotationX getter