François Mockers

Results 430 comments of François Mockers
trafficstars

> I will add documentation explaining this, but do you also want the field on the struct to be gated? Documentation should be good enough, something like https://github.com/bevyengine/bevy/blob/695d30bd54af2978dc99f214dda34b568348cf86/crates/bevy_window/src/window.rs#L122-L125

> I'm not sure why I put it there actually. I don't see why it wouldn't work on android. I'll move it to a new gated section for not wasm...

there's also the [`config`](https://docs.rs/bevy/0.5.0/bevy/ecs/system/struct.FunctionSystem.html#method.config) method on `FunctionSystem` that can be used to setup locals

For the people with ongoing doc PRs (@Sheepyhead, @james7132, @KDecay, @NiklasEi I think?), could you check your PR with the clippy lint `clippy::doc_markdown`? It should be enabled soon, there was...

hello and welcome! It has not yet been implemented, but it should be possible using winit [`with_window_icon`](https://docs.rs/winit/0.23.0/winit/window/struct.WindowBuilder.html#method.with_window_icon) when building the window. If you're interested in doing the PR, you could...

Bevy works directly in wasm/webgl2 since 0.6 and this crate is not needed anymore for it. You can check out https://github.com/bevyengine/bevy/tree/latest/examples#wasm

This is normal if you copy the code somewhere else. In the scene, `ComponentB` has been serialised as `scene::ComponentB`, so the struct must be declared under a root binary named...

on macOS, I receive the released event even if the window is no longer in focus: * if the window has the focus when the press event happen, it will...

Is it only something you see on UI examples? They are using some custom settings to only be active when there is user input, meaning you would need to be...

yup, you're right. The website is mostly about Bevy `latest` branch, except for the WebGPU example page that is built from the `main` branch for now, but will be built...