Search found 1186 matches

by Davidobot
Mon Oct 26, 2020 9:53 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 165561

Re: Love.js - A Direct Emscripten Port

I encountered another error. This one only happened sometimes. This was caused by my love.resize. I think it's because I used a variable in my love.resize that is created in another file that is required. So I think sometimes the resizing happens before the other file is required? Not sure if that ...
by Davidobot
Thu Oct 22, 2020 11:29 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 165561

Re: Love.js - A Direct Emscripten Port

Any tips for the "reload the page if screen is blank" bug? This one is annoying and happens about 1/3 of the time. Might be related to this: https://github.com/Davidobot/love.js/issues/16 ie try changing the minwidth/height When does the pthread error appear? After successfully porting several olde...
by Davidobot
Wed Oct 21, 2020 3:11 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 165561

Re: Love.js - A Direct Emscripten Port

I'm experiencing this right now, and I'm rebuilding the whole thing. Sometimes when I refresh the page, or when I did a whole new build, the game won't load and it will be stuck on 'game.js:260 loading game.data from cache'. I tried changing the javascript so that it never uses cache, but then it g...
by Davidobot
Wed Oct 21, 2020 12:49 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 165561

Re: Love.js - A Direct Emscripten Port

Awesome work David! Love how easy it is to create a port, with a single command! Thanks! :) I was able to successfully port some games first try, but for others, I'm getting these errors: love.js:9 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect res...
by Davidobot
Fri Oct 02, 2020 7:45 am
Forum: Games and Creations
Topic: PaiPai Speedrunner
Replies: 5
Views: 1022

Re: PaiPai Speedrunner

I can't seem to get past the "press start to play" screen.

Also, checking the console gives you an error about MIME types - this is probably on Gamejolt's end, but be aware of it: https://stackoverflow.com/questions/522 ... -mime-type
by Davidobot
Thu Sep 24, 2020 1:02 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 165561

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: 178
Views: 165561

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: 178
Views: 165561

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: 178
Views: 165561

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: 178
Views: 165561

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...