Love.js - A Direct Emscripten Port

Discuss any ports of LÖVE to different platforms.
Post Reply
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Love.js - A Direct Emscripten Port

Post 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.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: Love.js - A Direct Emscripten Port

Post by alberto_lara »

Hey, I just tried to run this game but I get an error, any idea what could be wrong?

Image
User avatar
gomez
Citizen
Posts: 65
Joined: Mon Feb 18, 2013 12:23 am
Location: Sao Luís, Brazil

Re: Love.js - A Direct Emscripten Port

Post by gomez »

Dude, I love you :ultrashocked: :ultrashocked: :ultrashocked:
Hey dude :D
Do you want to protect earth from an apocalypse ? Me too o/
Check my new game here: viewtopic.php?f=5&t=81001
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Love.js - A Direct Emscripten Port

Post 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/
User avatar
adnzzzzZ
Party member
Posts: 305
Joined: Sun Dec 26, 2010 11:04 pm
Location: Porto Alegre, Brazil

Re: Love.js - A Direct Emscripten Port

Post 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!
bobbyjones
Party member
Posts: 730
Joined: Sat Apr 26, 2014 7:46 pm

Re: Love.js - A Direct Emscripten Port

Post by bobbyjones »

Did you change something? It errored for me as well on mobile chrome but it did not when you first showed me.
szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

Re: Love.js - A Direct Emscripten Port

Post by szensk »

Oh wow! Great work Tanner. :D
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Love.js - A Direct Emscripten Port

Post 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.
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

Re: Love.js - A Direct Emscripten Port

Post by undef »

Awesome! This is a huge step for Love! :D
twitter | steam | indieDB

Check out quadrant on Steam!
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Love.js - A Direct Emscripten Port

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests