Page 1 of 23

Love.js - A Direct Emscripten Port

Posted: Sat Feb 06, 2016 9:46 pm
by Tanner
I'm very happy to announce the alpha release of a direct emscripten port of Love v0.10.0.

https://github.com/TannerRogalsky/love.js

Ever since I made Punchdrunk, I've really wanted to make this a reality. Punchdrunk was a useful toy and I learned a lot from it but performance was never very good and maintaining feature parity with Love was never going to happen.

This is different.

This isn't a new codebase like the other web ports. This is the existing, excellent codebase compiled in a different way. It should be very close to feature parity with Love v0.10.0. I have ported a number of v0.10.0 games with it already and it is exceptionally easy.

Some features don't work like threads and things that rely on threads: https://github.com/TannerRogalsky/love.js/issues
This is a game that I made for TOJAM last year that I ported. http://tannerrogalsky.com/friendshape

The readme has usage instructions to package your game for the web. It should largely just work.

Feel free to ask me any questions here or open an issue on the repo.

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 12:44 am
by alberto_lara
Hey, I just tried to run this game but I get an error, any idea what could be wrong?

Image

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 1:01 am
by gomez
Dude, I love you :ultrashocked: :ultrashocked: :ultrashocked:

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 1:56 am
by Tanner
alberto_lara wrote:Hey, I just tried to run this game but I get an error, any idea what could be wrong?
I'm not sure! Chrome on Windows is definitely one of the platforms I tried that on. If you get the chance, try running the debug build and send me the output. http://tannerrogalsky.com/friendshape_debug/

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 4:20 am
by adnzzzzZ
:awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome:

This is awesome. And if this actually works with minimal changes to the codebase needed then this is HUGE!!!!! Good work!

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 5:59 am
by bobbyjones
Did you change something? It errored for me as well on mobile chrome but it did not when you first showed me.

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 6:48 am
by szensk
Oh wow! Great work Tanner. :D

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 8:21 am
by T-Bone
Does not work on IE on WP8.1, but that's sort of expected :P I'll try it on Edge once I upgrade to Windows 10.

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 10:04 am
by undef
Awesome! This is a huge step for Love! :D

Re: Love.js - A Direct Emscripten Port

Posted: Sun Feb 07, 2016 11:58 am
by Tanner
T-Bone wrote:Does not work on IE on WP8.1, but that's sort of expected :P I'll try it on Edge once I upgrade to Windows 10.
Yeah.... :/ Internet Explorer is, well, it's something.
bobbyjones wrote:Did you change something? It errored for me as well on mobile chrome but it did not when you first showed me.
I haven't done much testing on mobile yet!