Search found 1181 matches

by Davidobot
Thu Sep 24, 2020 1:02 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

That's right, the game.js gets the full size of the file encoded in it. The initial memory is a separate thing and cannot be smaller than the size of the file, but should definitely be bigger (as the program footprint grows initially when started). I suddenly found myself with a lot less time due to...
by Davidobot
Thu Sep 17, 2020 4:15 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

Noted all the queries as bugs in the GitHub issue tracker! PSS. Any tips on making love.js embed-able? Would be awesome if the canvas object can be scaled on responsive pages. We don't need to resize the game resolution, just scaling the canvas so the game can be embedded in a section of the window....
by Davidobot
Wed Sep 16, 2020 2:07 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

love.js is great and I think it should be mentioned on the love2d homepage - that would drive further usage and hopefully more development and commits. I've brought this up with slime73 a few days ago. They said they were happy to bring it to mainline once it is stable. PS. I've also noticed that l...
by Davidobot
Wed Sep 16, 2020 8:42 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

Hey, thank you so much for the feedback. I managed to get all of my games to show their titlescreen and the menus work too. However love.filesystem.read() just hangs the entire script. I though about writing an alternative using "io." but the asset being loaded is located in my ".love" file. I supp...
by Davidobot
Mon Sep 14, 2020 1:05 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

My game tried to use love.filesystem.read from conf.lua and that was causing the crash. Looks like the next hurdle to overcome is "cannot resume normal coroutine". The "cannot resume normal coroutine" happens if there are errors in the coroutine (loading.lua in this case) Here's a .love that I modi...
by Davidobot
Sun Sep 13, 2020 7:57 pm
Forum: Libraries and Tools
Topic: Pixel art antialiasing shader
Replies: 5
Views: 4803

Re: Pixel art antialiasing shader

Damn, those videos are crisp. I was just about to say that you can get similar results by cranking up MSAA normally, but then you go out and say that this allows for the same effect without hardware support. Solid!
by Davidobot
Sun Sep 13, 2020 7:53 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

Hey, I almost got this working in compatibility mode. ... The music and menus seems to work, but the screen is totally black. I tend to use scissors a lot and no shaders at all. I can provide a love file upon request. Any tips on getting this fixed? If you use scissors, you might need to specify so...
by Davidobot
Sun Sep 13, 2020 10:39 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

I tested it on desktop Chrome / Chromium as well - same issue. :P I think it has to do with different resolutions and/or scaling/dpi. Now trying to see where does our Zabuyaki stop working with lovejs. Disabling shaders I finally figured out why some shaders don't work. It's a matter of strict type...
by Davidobot
Sat Sep 12, 2020 6:56 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

Amazingly, our .xm music files play for a second before stopping, I didn't expect them to work at all. I thought only mp3 or ogg would work on the web. Also for me the music cuts out right after it started playing in the love.js port. My bad, I forgot to mention that threading is necessary for prop...
by Davidobot
Sat Sep 12, 2020 3:08 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 164
Views: 159081

Re: Love.js - A Direct Emscripten Port

Did i just read that threads work in web but is slower? Threads work both on the compatibility and normal release. On the former, they are slower. 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 wr...