François Mockers

Results 446 comments of François Mockers
trafficstars

it would be nice to be able to keep a common example for iOS and Android, does the code for game activity differs that much?

The frame time diagnostic is taken from [`Time::delta_seconds_f64`](https://docs.rs/bevy/latest/bevy/time/struct.Time.html#method.delta_seconds_f64) and is not really related to rendering for now

not sure what is XR in this benchmark, or what it's supposed to test? and ideally for a benchmark it can be used from the CLI without interactivity to remove...

> Tried running this but it errors out with this error message `compile_error!("The platform you're compiling for is not supported by winit");` This error probably means that winit is detecting...

What you would want ideally is #22 I looked a bit and it seems very hard to do for now, Bevy calls [`Instance::create_surface_unsafe`](https://docs.rs/wgpu/latest/wgpu/struct.Instance.html#method.create_surface_unsafe) to create the surface it renders too,...

the stress test example `transform_hierarchy` should have plenty of cases to test the perf changes

still not a fan of adding this as an example in Bevy, and as is it doesn't show anything new so it adds more maintenance

> > still not a fan of adding this as an example in Bevy, and as is it doesn't show anything new so it adds more maintenance > > TBH,...

> > Could you try to make the example work in wasm? That would be new and useful as a start. > > Isn't that the issue that tasks don't...

`KeyCode` seems a much better name for this as it's the key code send by the keyboard when you press a physical key, which may actually has something different printed...