David Konsumer
David Konsumer
I switched all my stuff to `makelove`, just to avoid building the whole thing, and get past the errors. I can setup a docker lovejs builder later that compiles it,...
Ok, I think I made progress, but it's still not working. I got the websocket proxy running in docker. **UDP** ``` websocket_to_posix_proxy_1 | Unknown WebSocket opcode received 5! websocket_to_posix_proxy_1 |...
Oh, duh, yeh it needs to be built with `-lwebsocket.js -s PROXY_POSIX_SOCKETS=1 -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1`. So if we aren't going to setup some kind of swapping out the API...
> You don't need to build to use the repo. It's precompiled. You'd install it via npm locally. Ah, yes, I see the src/ folder has built versions of it....
Ok, I did a clone of this repo in the dockerfile, and ran lovejs on my demo love apps, [here](https://github.com/konsumer/lovejs-networking/blob/main/servers/lovejsweb.Dockerfile). it seems to build, but then the resulting page freezes,...
This is sort of related, but I dockerized the build environment to make it easier to try things out & simplify things. Feel free to use it, if you like....
Looking [here](https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#calling-javascript-from-c-c) it seems like there are a lot of options for exposing the JS APIs to C/love. Here is a simple example I think would work ok to add...
Hmm. That is cool, but still no way to say "call my lua function with the argument of the message or error and make a client object available." I can...
I updated all my docker testing stuff to use npm version, again. I get ``` npx love.js sh: love.js: Permission denied ``` on latest. I installed globally, and it seemed...
Even with this very basic tester in love, and no separate html file (just using what comes with love.js in npm): ```lua local h = love.graphics.getHeight() local w = love.graphics.getWidth()...