A refreshingly simple data-driven game engine built in Rust
4559 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | rustfmt.toml | 1 | use_field_init_shorthand = true |
| LOW | tools/ci/src/prepare.rs | 1 | use crate::args::Args; |
| LOW | tools/ci/src/prepare.rs | 21 | /// cmd!(sh, "cargo check --workspace"), |
| LOW | tools/example-showcase/src/main.rs | 41 | per_page: Option<usize>, |
| LOW | tools/example-showcase/src/main.rs | 861 | |
| LOW | tools/compile_fail_utils/tests/example.rs | 1 | fn main() -> compile_fail_utils::ui_test::Result<()> { |
| LOW | crates/bevy_settings/src/lib.rs | 1 | //! Framework for saving and loading user settings files (e.g. user preferences) in Bevy |
| LOW | crates/bevy_settings/src/lib.rs | 41 | mod store_wasm; |
| LOW | crates/bevy_settings/src/lib.rs | 61 | /// afford one, use a reverse domain based on the URL of your repo (GitHub, GitLab, Codeberg |
| LOW | crates/bevy_settings/src/lib.rs | 81 | /// Saving of preferences is not automatic; the recommended practice is to issue a |
| LOW | crates/bevy_settings/src/lib.rs | 141 | /// The name should be in ``snake_case`` to be consistent with TOML style. |
| LOW | crates/bevy_remote/src/lib.rs | 1 | //! An implementation of the Bevy Remote Protocol, to allow for remote control of a Bevy app. |
| LOW | crates/bevy_remote/src/lib.rs | 21 | //! "components": [ |
| LOW | crates/bevy_remote/src/lib.rs | 41 | //! |
| LOW | crates/bevy_remote/src/lib.rs | 61 | //! } |
| LOW | crates/bevy_remote/src/lib.rs | 81 | //! An error object might look like this: |
| LOW | crates/bevy_remote/src/lib.rs | 101 | //! The Bevy Remote Protocol includes a number of built-in methods for accessing and modifying data |
| LOW | crates/bevy_remote/src/lib.rs | 121 | //! If `strict` is true: |
| LOW | crates/bevy_remote/src/lib.rs | 141 | //! - `filter` (optional): |
| LOW | crates/bevy_remote/src/lib.rs | 161 | //! { |
| LOW | crates/bevy_remote/src/lib.rs | 181 | //! To query all entities and all of their Reflectable components (and retrieve their values), you can pass in "all" for |
| LOW | crates/bevy_remote/src/lib.rs | 201 | //! |
| LOW | crates/bevy_remote/src/lib.rs | 221 | //! }, |
| LOW | crates/bevy_remote/src/lib.rs | 241 | //! "near": 0.10000000149011612 |
| LOW | crates/bevy_remote/src/lib.rs | 261 | //! 0.8680371046066284, |
| LOW | crates/bevy_remote/src/lib.rs | 281 | //! 9.0 |
| LOW | crates/bevy_remote/src/lib.rs | 301 | //! |
| LOW | crates/bevy_remote/src/lib.rs | 321 | //! Insert one or more components into an entity. |
| LOW | crates/bevy_remote/src/lib.rs | 341 | //! |
| LOW | crates/bevy_remote/src/lib.rs | 361 | //! - `entity`: The ID of the entity whose components will be listed. |
| LOW | crates/bevy_remote/src/lib.rs | 381 | //! in the last tick. |
| LOW | crates/bevy_remote/src/lib.rs | 401 | //! - `entity`: The ID of the entity whose components will be listed. |
| LOW | crates/bevy_remote/src/lib.rs | 421 | //! Insert the given resource into the world with the given value. |
| LOW | crates/bevy_remote/src/lib.rs | 441 | //! |
| LOW | crates/bevy_remote/src/lib.rs | 461 | //! - `event`: The [fully-qualified type name] of the event to trigger. |
| LOW | crates/bevy_remote/src/lib.rs | 481 | //! ### `rpc.discover` |
| LOW | crates/bevy_remote/src/lib.rs | 501 | //! App::new() |
| LOW | crates/bevy_remote/src/lib.rs | 521 | //! # use bevy_ecs::prelude::{In, World}; |
| LOW | crates/bevy_remote/src/lib.rs | 921 | Cleanup, |
| LOW | crates/bevy_remote/src/lib.rs | 941 | |
| LOW | crates/bevy_remote/src/lib.rs | 1001 | /// |
| LOW | crates/bevy_remote/src/lib.rs | 1021 | /// "jsonrpc": "2.0", |
| LOW | crates/bevy_remote/src/lib.rs | 1341 | |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 121 | |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 141 | /// The [full path] of the resource type being requested. |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 161 | /// An optional flag to fail when encountering an invalid component rather |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 181 | /// [full type paths]: bevy_reflect::TypePath::type_path |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 201 | |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 221 | |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 241 | |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 261 | /// `parent`. |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 281 | |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 301 | pub value: Value, |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 321 | } |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 341 | /// The [full path] of the message to write. |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 361 | pub event: String, |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 381 | /// Describes the data that is to be fetched in a query. |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 401 | /// [full path]: bevy_reflect::TypePath::type_path |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 421 | #[serde(default)] |
| LOW | crates/bevy_remote/src/builtin_methods.rs | 441 | pub type_limit: JsonSchemaTypeLimit, |
| 4408 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | crates/bevy_animation/src/graph.rs | 57 | /// ┌────────────┐ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 59 | /// │ Idle ├─────────────────────┐ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 61 | /// └────────────┘ │ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 63 | /// ┌────────────┐ │ ┌────────────┐ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 66 | /// │ │ │ ┌────────────┐ │ │ │ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 67 | /// └────────────┘ │ │ Blend │ │ └────────────┘ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 69 | /// ┌────────────┐ │ │ 0.5 │ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 70 | /// │ │ │ └────────────┘ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 73 | /// └────────────┘ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 308 | /// ┌─────┐ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 314 | /// ┌───────┼───────┐ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 317 | /// ┌─────┐ ┌─────┐ ┌─────┐ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 321 | /// └──┬──┘ └─────┘ └─────┘ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 326 | /// ┌─────┐ ┌─────┐ |
| MEDIUM | crates/bevy_animation/src/graph.rs | 330 | /// └─────┘ └─────┘ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 397 | /// │ ─────┬──────────────┬───── |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 399 | /// │ Binned Mesh ... ├──────────────┤ ... |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 401 | /// │ ─────┴───┬──────────┴───── |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 403 | /// │ │ ┌───────────────────────────────┐ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 406 | /// │ ┌───────┬───────┬───────┬───── │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 408 | /// │ └───────┴───┬───┴───────┴───── │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 411 | /// │ Entity-to- │ ┌──────────┬──────────┬───── │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 413 | /// │ Instance- └──────────┴──────┬───┴───── │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 419 | /// │ Indirect- ┌───────┬───────┬───────┬───── │ │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 421 | /// │ Offset-to- └───────┴───────┴───────┴───── │ │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 425 | /// ┌───────┘ │ │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 429 | /// │ Indirect- ┌───────┬───────┬───────┬───── │ │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 431 | /// │ Offset └───────┴───────┴───────┴───── │ │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 435 | /// │ Binned Mesh ─────┬──────────────┬──────────────┬───── │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 437 | /// │ Buffer ─────┴──────────────┴───────────┬──┴───── │ |
| MEDIUM | crates/bevy_render/src/render_phase/mod.rs | 439 | /// └─ └────────────┘ |
| MEDIUM | crates/bevy_pbr/src/fog.rs | 448 | /// V = ───────── |
| MEDIUM | crates/bevy_pbr/src/fog.rs | 456 | /// β = ───────── |
| MEDIUM | crates/bevy_post_process/src/auto_exposure/settings.rs | 63 | /// ●───────────────────────── time |
| MEDIUM | crates/bevy_math/src/compass.rs | 15 | /// W (West) ┼─────► E (East) |
| MEDIUM | crates/bevy_math/src/compass.rs | 122 | /// W (West) ┼─────► E (East) |
| MEDIUM | crates/bevy_math/src/cubic_splines/mod.rs | 1104 | /// ●─────────── x (time) |
| MEDIUM | crates/bevy_math/src/cubic_splines/mod.rs | 1119 | /// ●➔⬈───────── x (time) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | crates/bevy_light/src/volumetric.rs | 125 | /// is facing away. Essentially, a high value here means the light shafts |
| MEDIUM | crates/bevy_a11y/src/lib.rs | 185 | /// Platform-specific accessibility APIs utilize `AccessKit` nodes in their |
| MEDIUM | crates/bevy_a11y/src/lib.rs | 223 | /// This behavior may or may not be intended, so please utilize |
| MEDIUM | crates/bevy_a11y/src/lib.rs | 264 | /// providing helpful resources for other interfaces to utilize. |
| MEDIUM | crates/bevy_picking/src/lib.rs | 28 | //! At its core, this crate provides a robust abstraction for computing picking state regardless of |
| MEDIUM | crates/bevy_picking/src/hover.rs | 57 | /// [`PreviousHoverMap`] as a robust way of determining changes in hover state from the previous |
| MEDIUM | crates/bevy_pbr/src/light_probe/environment_map.rs | 12 | //! distance from the view, in a similar manner to a skybox. Essentially, these |
| MEDIUM | crates/bevy_pbr/src/meshlet/mod.rs | 88 | /// * Near-seamless level of detail (LOD). |
| MEDIUM | crates/bevy_pbr/src/lightmap/mod.rs | 17 | //! supply to the shader. Essentially, the lightmap is a special type of texture |
| MEDIUM | crates/bevy_asset/src/lib.rs | 425 | // needs to be robust to stochastic delays anyways. |
| MEDIUM | crates/bevy_clipboard/src/lib.rs | 13 | //! it provides a consistent API across all platforms, with a simple but robust fallback when `arboard` |
| MEDIUM | docs-rs/trait-tags.html | 35 | // but the docs.rs layout makes it tricky to do so in a robust way. |
| MEDIUM | …ples/ui/navigation/directional_navigation_overrides.rs | 3 | //! This example shows how to leverage both automatic navigation and manual overrides to create |
| MEDIUM | examples/asset/multi_asset_sync.rs | 63 | /// [`Arc<Atomic>`] is a more robust alternative. |
| MEDIUM | examples/camera/2d_top_down_camera.rs | 87 | /// A more robust solution for player movement can be found in `examples/movement/physics_in_fixed_timestep.rs`. |
| MEDIUM | examples/animation/animated_transform.rs | 63 | // in case seamless looping is wanted, the last keyframe should |
| LOW | examples/reflection/dynamic_types.rs | 55 | // Or, if we had registered `ReflectClone` using `#[reflect(Clone)]`, it would simply call `Clone::clone` directly. |
| MEDIUM | benches/Cargo.toml | 75 | # `cargo bench -- --save-baseline before` by disabling the default benchmark harness. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | crates/bevy_ecs/src/system/input.rs | 95 | /// Here is a simple example of a system that takes a [`usize`] and returns the square of it. |
| MEDIUM | crates/bevy_ecs/src/system/input.rs | 149 | /// Here is a simple example of a system that logs the passed in message. |
| MEDIUM | crates/bevy_ecs/src/system/input.rs | 202 | /// Here is a simple example of a system that takes a `&mut usize` and squares it. |
| MEDIUM | crates/bevy_shader/Cargo.toml | 46 | # When turning this feature on, you can add the following to bevy/Cargo.toml (not this file), and then run `cargo update |
| MEDIUM | crates/bevy_render/Cargo.toml | 16 | # When turning this feature on, you can add the following to bevy/Cargo.toml (not this file), and then run `cargo update |
| MEDIUM | crates/bevy_math/src/curve/mod.rs | 237 | //! First of all, it's worth noting that the API never uses `&mut self` — every method either takes |
| LOW | examples/ui/widgets/feathers_counter.rs | 26 | // Don't forget to add the plugin. |
| MEDIUM | examples/asset/alter_mesh.rs | 186 | // for demonstration purposes. This will affect all entities currently using the asset. |
| MEDIUM | examples/camera/2d_top_down_camera.rs | 84 | /// Note that the approach used here is for demonstration purposes only, |
| MEDIUM | examples/ecs/custom_schedule.rs | 19 | // Create a new [`Schedule`]. For demonstration purposes, we configure it to use a single threaded executor so that |
| MEDIUM | examples/scene/world_serialization.rs | 174 | // For demonstration purposes, we'll create a new one. |
| MEDIUM | examples/2d/mesh2d_manual.rs | 90 | // use a custom vertex attribute here for demonstration purposes. |
| MEDIUM | examples/shader_advanced/custom_phase_item.rs | 156 | /// A single triangle's worth of vertices, for demonstration purposes. |
| MEDIUM | examples/reflection/type_data.rs | 29 | // Here we know it's a `Zombie`, but for demonstration purposes let's pretend we don't. |
| MEDIUM | examples/reflection/function_reflection.rs | 17 | // Note that the `dbg!` invocations are used purely for demonstration purposes |
| MEDIUM | .github/actions/install-linux-deps/action.yml | 12 | # repository before you can use this action. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | examples/3d/irradiance_volumes.rs | 413 | // Turns on and off the irradiance volume as requested by the user. |
| HIGH | examples/3d/visibility_range.rs | 284 | // Toggle the mode as requested. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | .github/workflows/welcome.yml | 25 | const opts = github.rest.issues.listForRepo.endpoint.merge({ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | crates/bevy_app/src/plugin.rs | 24 | /// ## Defining a plugin. |
| MEDIUM | crates/bevy_reflect/derive/src/lib.rs | 573 | /// # Defining the Wrapper |
| MEDIUM | .github/workflows/send-screenshots-to-pixeleagle.yml | 59 | # Create a new run with its associated metadata |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/remote/integration_test.rs | 32 | // Step 1: Take a screenshot via BRP |
| LOW | examples/remote/integration_test.rs | 93 | // Step 2: Find the button entity, and its global transform |
| LOW | examples/remote/integration_test.rs | 127 | // Step 3: Find the window entity and scale factor |
| LOW | examples/remote/integration_test.rs | 153 | // Step 4: Convert button center from physical to logical pixels |
| LOW | examples/remote/integration_test.rs | 158 | // Step 5: Send CursorMoved via WindowEvent message |
| LOW | examples/remote/integration_test.rs | 177 | // Step 6: Send MouseButtonInput Pressed + Released via WindowEvent messages. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/ui/text/text_wrap_debug.rs | 111 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas auctor, nunc ac faucibus fringilla.". |
| LOW | examples/ui/text/text_wrap_debug.rs | 111 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas auctor, nunc ac faucibus fringilla.". |
| LOW | examples/testbed/ui.rs | 948 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit.".to_string(), |
| LOW | examples/testbed/ui.rs | 948 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit.".to_string(), |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | crates/bevy_text/src/text.rs | 831 | /// # Usage: |
| LOW | crates/bevy_asset/src/io/web.rs | 20 | /// Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs-rs/trait-tags.html | 64 | function findImplementedBevyTraits(doc) { |