ruffle-rs / ruffle

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

droids 2 - slowdown, graphical issues, and input issues #10376

Open Kz-92 opened 1 year ago

Kz-92 commented 1 year ago

Describe the bug

d2c

ruffle doesn't show the textures correctly, the game runs very slow, and you can sometimes play the game, but other times every button except left mouse click are broken.

d2c2

when I first tested it, I could reach level 3, but trying again, it was unable to move at level 1

Expected behavior

the game should render normally, not be as slow, and be able to be played

Affected platform

Desktop app

Operating system

Windows 10

Browser

No response

Additional information

droids2mgfinalOTIx.swf.zip

I also wanted to try the first droids game, but it has a king sitelock that broke after king went defunct(?)/closed their flash servers

if anyone could break said lock, I'd love to see if that works better than droids 2 on ruffle

494564_droid.swf.zip

Lord-McSweeney commented 1 year ago

I saw the same issues. The following error might be the culprit: WARN ruffle_core::avm2::amf: Serialization is not implemented for class other than Object: ScriptObject(ScriptObject { name: Menus::save_level_descriptor, ptr: ... }). However, after playing once, I get this error after the Max Games intro animation:

ERROR ruffle_core::display_object::movie_clip: Error occured when running AVM2 frame script: TypeError: Error #1010: A term is undefined and has no properties. (accessing field: score)
    at Menus::SavedData()
    at World/Init()
    at mc_main/
                  ()
    at mc_main/init()
    at My_doc_class/main()
    at droids2_fla::MAXLOGOINTRO1_17/
()

This gets me stuck on a backdrop. The serialization error is probably also the cause of this.

Kz-92 commented 1 year ago

this has regressed, I can't even reach the title screen now

n0samu commented 12 months ago

@Kz-92 That seems to be the same problem @Lord-McSweeney already mentioned. I don't think it's a regression.