Search found 106 matches
- 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: 2370
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...
- Thu Sep 24, 2020 5:46 am
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
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...
- Wed Sep 23, 2020 10:48 pm
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
Re: Love.js - A Direct Emscripten Port
I reckon people are likely to miss my many edits, so I'm double posting. A picture is worth a thousand words, so here are two images that show our problem. Zabuyaki when DPI is 1.0 (looks fine): dpi1.png Zabuyaki when DPI is 1.25 (canvas is too big, 800x600 instead of 640x480, and a part of the game...
- Mon Sep 21, 2020 7:45 pm
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
Re: Love.js - A Direct Emscripten Port
YASS! Finalle made our Zabuyaki working. here is the link to Zabuyaki https://www.zabuyaki.com/play/ Yay! :cool: Thanks, everyone. Somehow, on my desktop PC, the game is super smooth with Firefox, but very laggy with Chrome. In my experience, Chrome generally outperforms Firefox, so this surprises ...
- Sun Sep 20, 2020 11:30 am
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
Re: Love.js - A Direct Emscripten Port
We've finally fixed our color swap shader to make it work on the web! Here's the code change, for posterity: https://github.com/thomasgoldstein/zabuyaki/commit/28083dc096003ae51ede0957491d7b227194eb29 Now to try and fix stage loading... I've got a hunch that one is a filepath-related issue. Edit: I'...
- Tue Sep 15, 2020 9:52 am
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
- Mon Sep 14, 2020 3:11 pm
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
Re: Love.js - A Direct Emscripten Port
Could you make an issue on GitHub with the request? It's easier for me to keep track of things that way. Sure. But I can't find the Issues page on your repo. Is it disabled, maybe? On my own GitHub repos, I have an "Issues" tab between the "Code" and "Pull requests" on...
- Mon Sep 14, 2020 7:44 am
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
Re: Love.js - A Direct Emscripten Port
Ah, by the way, a feature request. Running love-js game.love game -d (-d for double, or something) could generate a lovejs package which would contain the code for both the pthread version and the compatibility version, and during execution, it'd detect if your browser supports pthreads in order to ...
- Sun Sep 13, 2020 8:13 pm
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
Re: Love.js - A Direct Emscripten Port
I finally figured out why some shaders don't work. It's a matter of strict type casting. So if you have any multiplication/division with floats/doubles, you need to make sure that both numbers are written as doubles. So something like (taking screen to be a vec2 in the example) screen / 2 won't wor...
- Sat Sep 12, 2020 2:11 pm
- Forum: Ports
- Topic: Love.js - A Direct Emscripten Port
- Replies: 224
- Views: 514469
Re: Love.js - A Direct Emscripten Port
Davidobot, can you recommend how to write code paths that are only for lovejs? Maybe through start-up command line arguments?
This would enable us to write code such as "if not lovejs, then go fullscreen", and so on. Thank you.
This would enable us to write code such as "if not lovejs, then go fullscreen", and so on. Thank you.