Emilio Moretti
Emilio Moretti
Hi, this ticket has been on hold for quite some time. What's the status? I took a quick glance at other implementations, and it seems like using the asynchronous .request_animation_frame...
thank you very much. I share your philosophy. Sometimes we need complex code, and other times, we need code that is easy to maintain and has a low barrier to...
I think you are right. it may or may not give a good performance, but I still think it's worth adding support for working on the HTMLCanvas from Rust like...
Sorry I took so long. I was working on a candidate implementation. At first I was wondering what to do with the fact that the web does not like blocking...
The PR is still a little rough around the edges, but I finally got a working demo: https://github.com/dc740/minifb-async-examples it's flashing the screen on each animation frame. I need to add...
From the demo I posted last week, I think you can use spawn_local, and then setTimeout to render at your desired speed (let's say 30FPS). More info: https://forum.unity.com/threads/rendering-without-using-requestanimationframe-for-the-main-loop.373331/#post-5019212 I took...
Just in case, the demo was not working. I didn't copy some files. It's fixed now, and it shows a bouncing green box.
OK, the PR is not ready, because there is no keyboard support right now (or at least I didn't try it). I had to extra long weeks, but I finally...
I have not been able to look at this as much as I'd like. I'll leave the current status detailed, just in case anyone wants to help (much needed): This...
Just a heads up, it's merged! Of course it can be improved but you can run minifb on the web now. I cleaned up the multiplatform demo a little bit:...