Search found 104 matches

by Stifu
Tue Mar 16, 2021 6:36 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

Actually, it works with the love.js player without any arguments. I guess it does something different.

For what it's worth, I'm on a love.js version from September 2020, but the commits since then don't seem related to my problem, so it doesn't look like it's worth updating to try and fix my issue.
by Stifu
Mon Mar 15, 2021 11:02 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

Hey guys. I noticed Zabuyaki stopped working with love.js (remember, it is auto-refreshed from sources, so it's auto-updated regularly). The error visible in the browser console is: "Uncaught RangeError: source array is too long" According to my tests, it seems related to the size of the g...
by Stifu
Fri Feb 05, 2021 7:05 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

Nice job ! On Linux, it works perfectly on Falkon browser (Webkit based) but not at all on Firefox. The Compatibility version work with Firefox. I guess it doesn't work with Firefox simply because it's missing the required headers: In Firefox, the normal version can throw Uncaught ReferenceError: S...
by Stifu
Tue Dec 22, 2020 9:12 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

Maybe Safari needs that security header thingy like Firefox does? Or does it only work in compatibility mode?
by Stifu
Sun Oct 25, 2020 5:08 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

Sheepolution wrote: Sun Oct 25, 2020 4:24 pm This works with LÖVE, but not with Love.js
This probably doesn't work with LÖVE on case-sensitive OSes. In other words, it probably only works on Windows. Better be consistent with your casing.
by Stifu
Mon Sep 28, 2020 8:54 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

I've figured out why our canvas had the wrong dimensions when the DPI settings are not set to 1.0. It's due to the fact we used the push lib with the highdpi parameter set to true. Setting it to false fixed the issue and makes Zabuyaki behave like other lovejs games. Fix commit: https://github.com/t...
by Stifu
Mon Sep 28, 2020 8:08 pm
Forum: Support and Development
Topic: Love2D and HTML5 games
Replies: 8
Views: 2181

Re: Love2D and HTML5 games

not working for me in Firefox 81.0 Thanks for reporting this. I have rebuilt the games in compatibility mode and it now works with Firefox (although the audio is buggy). I guess it's a tradeoff between working perfectly in Chrome vs working without audio across browsers. https://2dengine.com/arena/...
by Stifu
Thu Sep 24, 2020 12:32 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

I'm not sure this is right. I noticed the game.js file is different, for example, as at the end of the file it specifies the size of the game, and also attaches an id to the bundle (which might be used as the client cache key, I'm not sure). By simply replacing the game.data file, the behavior I got...
by Stifu
Thu Sep 24, 2020 7:03 am
Forum: Support and Development
Topic: Downloading files from the internet: .xm receive a 404 error, while mp3s don't!
Replies: 2
Views: 1099

Re: Downloading files from the internet: .xm receive a 404 error, while mp3s don't!

Hey. This is probably not related to love2d, but that doesn't mean we can't help you with that. Some web servers have a whitelist of allowed file extensions for static files. Since .xm files are not common, I guess you need to configure somewhere that they should be reachable as static files. How to...
by Stifu
Thu Sep 24, 2020 5:46 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 207
Views: 252228

Re: Love.js - A Direct Emscripten Port

Well done, it works fine. Thanks. :) Just note that you don't need a quit button in the web version. Right. We removed it yesterday, actually, but I just didn't regenerate the lovejs package since then. I wish I could automate that, by the way, but I saw it's not as simple as simply replacing the g...