Love.js - A Direct Emscripten Port

Discuss any ports of LÖVE to different platforms.
Posts: 19
Joined: Thu Mar 06, 2014 3:00 pm

Re: Love.js - A Direct Emscripten Port

Post by AndreyMust19 » Thu May 17, 2018 9:17 am

Don't work sound on mobile:

I tested another games - Mari0, Friendshape, same thing.

User avatar
Posts: 89
Joined: Mon Dec 04, 2017 1:47 am
Location: Germany

Re: Love.js - A Direct Emscripten Port

Post by Marty » Wed Jul 04, 2018 3:47 pm

Sound lags very hard on Mac OS X Chrome.
Visual Studio Code TemplateRichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter)Add me on Discord


User avatar
Party member
Posts: 248
Joined: Sat Jan 16, 2016 10:30 am

Re: Love.js - A Direct Emscripten Port

Post by 4aiman » Wed Aug 29, 2018 10:47 am

Love.js is unpredictable at the moment.
By "unpredictable" I mean that the error thrown may or may not tell any (let alone the whole) story.
I also mean that out of 2 similar projects one may convert perfectly and the other one would have issues.

I've attached a *.love file which upon conversion via love.js.cmd (0.11.0-rc3) yields the following:

Code: Select all

Error: main.lua:20: Cannot create cursor: Cursors are not currently supported love.js:10:3955
stack traceback: love.js:10:3955
	(tail call): ?
I don't use any cursors. The line number is inaccurate. When I try to see what's there at the love.js:10:3955 my browser freezes and then crashes. Firefox/Chrome/Vivaldi alike.
I can't say I'm doing something extraordinary here, as some projects got converted really well (this one and/or this one)

Could anyone possibly help me with understanding what I'm doing wrong?
Thanks in advance! ^_^
(37.8 KiB) Downloaded 328 times

User avatar
Party member
Posts: 174
Joined: Thu Feb 05, 2015 1:57 am
Location: Chengdu,China

Re: Love.js - A Direct Emscripten Port

Post by Alexar » Fri Sep 07, 2018 10:33 am

hi,Tanner, can you help me with this?
when i try to port my project with love.js 0.11 , the console output the error message:
'TextDecoder': The provided ArrayBufferView value must not be shared.
error.png (97.86 KiB) Viewed 13457 times

Posts: 2
Joined: Sun Apr 19, 2015 3:59 pm

Re: Love.js - A Direct Emscripten Port

Post by TheDudiful » Tue Apr 07, 2020 8:30 am

I just wrote a guide about packaging your LÖVE games for the web using love.js and Docker. Because love.js is not in the best shape right now, it also includes troubleshooting tips to overcome some common issues, like the one in the comment above!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests