Search found 263 matches

by Sheepolution
Mon Oct 26, 2020 12:57 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

Re: Love.js - A Direct Emscripten Port

Using preventDefault on a keyCode prevents that key from triggering love.textinput

This means that space doesn't work, as that is one of the keys that are in the preventDefault list. The fix for me was to simply not use the preventDefault code.
by Sheepolution
Mon Oct 26, 2020 2:51 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

Re: Love.js - A Direct Emscripten Port

I just finished porting most of my LÖVE games. I made a Twitter thread about it: https://twitter.com/Sheepolution/status ... 0597142528

Thanks again David!
by Sheepolution
Sun Oct 25, 2020 7:58 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

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 m...
by Sheepolution
Sun Oct 25, 2020 4:24 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

Re: Love.js - A Direct Emscripten Port

I had an error: 'An error occurred before the game window could be initialised. Please check the console!' I had this error because the I loaded my font with "love.graphics.newFont("myFont.ttf") while the file was named myFont.TTF. This works with LÖVE, but not with Love.js Changing the name to myFo...
by Sheepolution
Thu Oct 22, 2020 2:19 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

Re: Love.js - A Direct Emscripten Port

It appears for any game compiled with the non-compat build option when run on a non-Chrome browser (with the exception of Firefox when setup on a host with the correct CrossOrigin settings) Well I did make non-compat build but I did run it in Chrome so that's weird. For now I'll try to see if I'm d...
by Sheepolution
Wed Oct 21, 2020 9:50 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

Re: Love.js - A Direct Emscripten Port

Strange stuff indeed. I don't have too much time to work on this right now. If you could document bugs/findings in the GitHub Issues that would be fab) easiest way for me to keep track of things. Done! When does the pthread error appear? After successfully porting several older games I encountered ...
by Sheepolution
Wed Oct 21, 2020 1:19 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

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 go...
by Sheepolution
Tue Oct 20, 2020 5:04 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 178
Views: 172429

Re: Love.js - A Direct Emscripten Port

Awesome work David! Love how easy it is to create a port, with a single command! 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 response MIME t...
by Sheepolution
Sat Feb 08, 2020 5:32 pm
Forum: Games and Creations
Topic: And yet it hurt
Replies: 2
Views: 4109

And yet it hurt



And yet it hurt is a game that you play in Notepad.
Go on an adventure to kill the dragon that murdered your parents. Solve puzzles, fight enemies, all in Notepad!

DOWNLOAD
by Sheepolution
Thu Nov 14, 2019 9:35 am
Forum: General
Topic: LÖVE-chan, a moe anthropomorphic character
Replies: 2
Views: 2147

LÖVE-chan, a moe anthropomorphic character

Moe anthropomorphism is adding human traits to something non-human. On the internet this is done with a lot of websites and software. Some examples: Google Chrome-chan Windows-chan Wikipe-tan Various programming languages And now I would like for us to come together as a community, to embrace our w...