pjasicek / OpenClaw

Reimplementation of Captain Claw (1997) platformer
GNU General Public License v3.0
338 stars 39 forks source link

Just a blank square showing up in Safari, macOs Big Sur #168

Open ghost opened 3 years ago

ghost commented 3 years ago

Following the README, after building successfully, I run python server on localhost and go to openclaw.html, I get this:

Screen Shot 2021-08-23 at 10 40 14 PM

And the log shows:

127.0.0.1 - - [23/Aug/2021 22:38:52] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [23/Aug/2021 22:39:30] "GET /openclaw.html HTTP/1.1" 200 -
127.0.0.1 - - [23/Aug/2021 22:39:30] code 404, message File not found
127.0.0.1 - - [23/Aug/2021 22:39:30] "GET /openclaw.js HTTP/1.1" 404 -
pjasicek commented 3 years ago

Hi, most likely you did not copy all the required assets to the server's public directory. Look at the browser console's errors and you will find which assets are missing.

ghost commented 2 years ago

It's looking for openclaw.js which I'm not sure where it should be

pjasicek commented 2 years ago

It seems to me that you are not doing the WebAssembly build :-)

Please follow this build section instead:

https://github.com/pjasicek/OpenClaw#webassembly-emscripten