ruffle-rs / ruffle

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

I'm an amature building ruffle on Repl.it, however I keep getting this error #1832

Closed CBGamesdev closed 2 years ago

CBGamesdev commented 3 years ago

So, like in my last post, i'm building ruffle for my website (to clarify it's a google site). However I switched over to Repl.it as I think it supports .wasm files. However, when trying to get my game loading, it replaces the flash player but when I click the play button, nothing happens. I'll put the error I got in the command box below:

"Serious error loading Ruffle: TypeError: Could not download wasm module Serious error occurred loading SWF file: TypeError: Could not download wasm module"

and

"Creating WebGL renderer... Creating WebGL2 context. WebGL graphics driver: Mesa DRI Intel(R) HD Graphics 500 (APL 2) Minimum audio buffer sample rate: 5512 New Ruffle instance created. Loading SWF file https://sites.google.com/site/chilibowlgames/bloxorz.swf" Asynchronous error occurred: Could not fetch movie https://sites.google.com/site/chilibowlgames/bloxorz.swf%22"

Any help? And if you could, dumb it down. I'm very new to this.

Herschel commented 2 years ago

Hi, is this still an issue?

Your first log ("Could not download wasm" indicates possibly that the Ruffle wasm files are missing from your server. The second log indicates Ruffle is trying to run, but is unable to load the SWF file (possibly it's missing, or you are trying to load it from a different domain, which is disallowed by default in modern browsers).

If you could link to an affected page, it would help to diagnose the issue.

CBGamesdev commented 2 years ago

Oh, this is by far not an issue anymore as I actually learned how to code and add it to an actual website. Thank you for reaching out though!