Tanner Rogalsky

Results 65 comments of Tanner Rogalsky

I've tested a number of other formats and they all seem to work well. It's just the `.xm` files that fail to play. Even on [this standalone port of libmodplug](https://github.com/Bananattack/libmodplugjs),...

Good catch, thanks! It should be possible to do [scancodes](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code) in the browser so I will look into why it's not working.

I have opened a bug report on SDL's bug tracker: https://bugzilla.libsdl.org/show_bug.cgi?id=3259

Update: it is not. At the time of this writing, Audio processing can only occur in the browser's main thread. This will require modifications to the Love code to perform...

Can I have a link to these examples, please?

But, ultimately, there's no mechanism for moving a mouse from JavaScript so that will never work unless browsers start exposing that functionality (and they probably never will because you really...

`love.mouse.newCursor` seems like it should work, though. Maybe it's just not implemented in emscripten's SDL stuff.

https://github.com/emscripten-ports/SDL2/blob/master/src/video/emscripten/SDL_emscriptenmouse.c#L61 Turns out the Emscripten part of SDL just discards the surface that gets passed to it. I wonder if it would be possible to encode the surface data into...

This actually got implemented in the emscripten ports version of SDL2. https://github.com/emscripten-ports/SDL2/pull/39 But since we're using megasource's copy of SDL2 now, I'm not sure the best way to get this...

`setVolume` is definitely working. If you try out this code you'll see that the volume gradually goes down. I don't think I can make any guarantees about relative loudness in...