Running
Any tool for hosting a web server in this folder, for example:
npx serve .
Load up the root localhost to see index.html.
Issue
ruffle loads base.swf
fine, you'll see the green background, but it requests screen.swf
and is not respecting the base param
of /public/game/
.
The base param is set up by SWFObject, and I can see it going through to ruffle here.
This causes a request to http://localhost:5000/screen.swf
, not http://localhost:5000/public/game/screen.swf
,
causing a 404.
This repo uses the polyfill approach with SWFObject, but I've also had no luck using the ruffle API either.
Thanks for help.