Fedor Logachev
Fedor Logachev
I do not really understand what's wrong with the code you showed, but if you have a reproducible example for the bug and a fix - I would appreciate the...
~~Also would be nice to test msvc buils with wine: https://github.com/est31/msvc-wine-rust~~ fixed by https://github.com/not-fl3/miniquad/pull/50
Thanks! Can confirm, going to fix.
Related macroquad issue: https://github.com/not-fl3/macroquad/issues/1
Any good articles on high-level input events? I am curious what kind of games is sensitive to 0.01ms input lag caused by waiting for the end of a current frame...
The problem - with current library design `Context` is going to be locked for the whole `frame` callback, so even introducing threads will not be really helpful. Right now I...
> I think low-level input is a critical for successful game library, or even if used for apps (e.g. for painting app.) There's something about the controls that feels "snappy"...
In miniquad on most platforms main loop looks something like this ``` loop { while let Some(event) = os.poll_event() { context.on_whatever(); } context.draw_frame(); } ``` Which is really similar to...
> Just checking - do you mean in sokol.h? Windows: https://github.com/not-fl3/miniquad/blob/master/native/sapp-windows/external/sokol/sokol_app.h#L4605 linux/x11: https://github.com/not-fl3/miniquad/blob/master/native/sapp-linux/src/lib.rs#L2748 wasm: makes no sense, browser javascript engine is single-threaded anyway + event loop is handled inside the...
> I do think timestamps is enough, I even wrote "It can be implemented by recording event time when it happens" in the original post, and it basically is how...