Search found 2 matches

by danvdragos
Wed Jan 18, 2017 5:40 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 103
Views: 77743

Re: Love.js - A Direct Emscripten Port

@Ulydev Yes but not fully because the browser doesn't support UDP. You can use a websocket in js and proxy bytes from stdin/stdout in no more then ~50 lines of code. If you are more adventurous you could try WebRTC, implement peer discovery over a known IRC channel and you get P2P multiplayer. This ...
by danvdragos
Wed Jan 18, 2017 7:55 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 103
Views: 77743

Re: Love.js - A Direct Emscripten Port

Thanks for love.js/love2d. I found it through picolove with the goal to scale my game from its pico8 prototype. I found a simple solution to integrate REST APIs with love.js using stdin/stdout: //in index.html var input="input"; var inputIdx=-1; var Module = { print: function(sout) { console.log('lu...