ruffle-rs / ruffle

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

Neopets - Eye of the Storm issues #8777

Open Gathouria opened 1 year ago

Gathouria commented 1 year ago

Describe the bug

I believe the game plays correctly, but the entire game lags to the points of unplayability, and I cannot even clear level one before I'm lagged out due to time. The intro animation to the level maybe gets 5 frames of animation, and the sound also lags clearly. Thinking there's some sort of unimplemented feature that's freezing up the whole thing, but I'm not savvy enough to know what that would be.

Game link: https://www.neopets.com/games/game.phtml?game_id=720 Direct link: https://www.neopets.com/games/game.phtml?game_id=720&size=regular&quality=medium&play=true

Tried on both medium and low qualities, but issue still present.

Computer specs:

Expected behavior

No lag- when I was last able to play this game properly the animations and play were smooth and the game could be played just fine.

Affected platform

Browser's extension

Operating system

Windows 10

Browser

Google Chrome

Additional information

No response

Lord-McSweeney commented 1 year ago

System.security.allowDomain() not implemented Unimplemented property _focusrect both show up as warnings in the console when the game is starting to load.

n0samu commented 1 year ago

Hi @Gathouria, can you please right-click the game, click "Copy Debug Info", and paste the information here in a comment? I tried the game and although it is somewhat laggy, on my end it is nowhere near as laggy as you described.

@Lord-McSweeney those messages are most likely harmless and unrelated to the issue at hand.

Gathouria commented 1 year ago

Yes, sorry for the delay! Lagged even trying to right click and copy, it's really unhappy with whatever the issue is.

Player Info

Allows script access: true Renderer: Canvas

Page Info

Page URL: https://www.neopets.com/games/play_flash.phtml?va=&game_id=720&nc_referer=&age=1&hiscore=10369&sp=0&questionSet=&r=5135513&&width=650&height=500&quality=high&inpage=1 SWF URL: https://images.neopets.com/games/gaming_system/np8_loader_v3_48.swf

Browser Info

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Platform: Win32 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2022-12-19 Channel: nightly Built: 2022-12-19T00:16:08.959Z Commit: 96950f424ef1f081ca16b53de14675f998aad5a0 Is extension: true

Metadata

width: 1000 height: 1000 frameRate: 48 numFrames: 21 swfVersion: 8 backgroundColor: #000000 isActionScript3: false uncompressedLength: 9994

n0samu commented 1 year ago

Ah that makes sense! Your browser seems not to have hardware acceleration enabled and is using the much slower Canvas rendering backend. If you can, please try to enable WebGL in your browser, or switch to a browser where WebGL is working. To test WebGL in your browser and learn how to enable it, visit this site: https://get.webgl.org/