ruffle-rs / ruffle

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

Rebel Fighters local3DToGlobal #15200

Open Stefannag opened 9 months ago

Stefannag commented 9 months ago

Describe the bug

The game is loading all the files, start correctly, but it won't actually work, it will not display the design in Mission 1.

UPDATE: After updating Ruffle to the version from 20 Feb 2024, I got the following error:

ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "LoadComplete", class: flash.events::Event, ptr: 0x340e6b0 }) to handler FunctionObject(FunctionObject { ptr: 0x49b8788, name: Ok("MainApp/OnLevelLoaded()") }) : TypeError: Error #1006: local3DToGlobal is not a function of class flash.display::MovieClip.

Error dispatching event EventObject(EventObject { type: "enterFrame", class: flash.events::Event, ptr: 0x272e590 }) to handler FunctionObject(FunctionObject { ptr: 0x452ed28, name: Ok("GameManager/MainLoop()") }) : TypeError: Error #1006: local3DToGlobal is not a function of class scenery_street_fla::_CONTAINER_30.

Expected behavior

To work.

Content Location

https://www.getgames.io/games/ruffle/?swf=cn/ben10/rebelFighters/game.swf&params=&name=Rebel%20Fighters

Affected platform

Self-hosted version

Operating system

Windows 11

Browser

Google Chrome Version 120.0.6099.200 (Official Build) (64-bit)

Additional information

No response

Stefannag commented 8 months ago

After updating Ruffle to the last version, I got a new error

Error dispatching event EventObject(EventObject { type: "enterFrame", class: flash.events::Event, ptr: 0x272e590 }) to handler FunctionObject(FunctionObject { ptr: 0x452ed28, name: Ok("GameManager/MainLoop()") }) : TypeError: Error #1006: local3DToGlobal is not a function of class scenery_street_fla::_CONTAINER_30.