ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

Black screen on Typing Maniac

Open skiesofravens opened this issue 1 year ago • 2 comments

Describe the bug

Running Typing Maniac results in a black screen. The game does call for a unarchived API file, however in normal Flash Player the game still runs without it.

Demo site console: image

Expected behavior

Title screen appears: image

Content Location

type.zip

Affected platform

Online demo

Operating system

Windows 10 22H2

Browser

Mozilla Firefox 121.0 (64-bit)

Additional information

Occurs on both standalone and browser.

skiesofravens avatar Jan 04 '24 04:01 skiesofravens

The first issue affecting this is our incorrect handling of loader.loadBytes (most of the logic should run immediately). After that, there's something going wrong with the name argument to Proxy.getProperty/setProperty as dictionary keys (they either need to be interned QName objects, or just plain strings).

Aaron1011 avatar Jan 05 '24 03:01 Aaron1011

In avmplus, when accessing a Dictionary using QNames as keys, the QNames are only parsed and converted to namespace+name pairs if the code is being JITed.

Lord-McSweeney avatar Aug 19 '24 17:08 Lord-McSweeney