Spiffy fork of bevy_remote_inspector for MMORPG inspector development
  • TypeScript 70.2%
  • Rust 28.2%
  • CSS 0.7%
  • JavaScript 0.6%
  • HTML 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
notmd fd62e60982
Some checks failed
CI / rust (push) Has been cancelled
CI / js (push) Has been cancelled
Update README.md
2024-12-03 03:42:35 +07:00
.github/workflows Try (#4) 2024-11-01 00:39:10 +07:00
.vscode Add Biome and apply formatting/lint fixes to all files (#1) 2024-10-31 13:43:50 +07:00
crates Prepare publish 2024-12-03 03:34:39 +07:00
examples Prepare publish 2024-12-03 03:30:02 +07:00
public feat: basic inspector 2024-10-09 14:55:26 +07:00
src Move search state to store 2024-11-08 17:07:37 +07:00
.gitignore Add Biome and apply formatting/lint fixes to all files (#1) 2024-10-31 13:43:50 +07:00
biome.jsonc Implement entity tree filter close #10 2024-11-08 16:43:01 +07:00
Cargo.lock Prepare publish 2024-12-03 03:34:39 +07:00
Cargo.toml Prepare publish 2024-12-03 03:30:02 +07:00
components.json feat: basic inspector 2024-10-09 14:55:26 +07:00
index.html feat: basic inspector 2024-10-09 14:55:26 +07:00
LICENSE Add license and update README 2024-10-31 01:33:56 +07:00
package.json Implement entity tree filter close #10 2024-11-08 16:43:01 +07:00
pnpm-lock.yaml Implement entity tree filter close #10 2024-11-08 16:43:01 +07:00
postcss.config.js Add Biome and apply formatting/lint fixes to all files (#1) 2024-10-31 13:43:50 +07:00
README.md Update README.md 2024-12-03 03:42:35 +07:00
tailwind.config.js Add Biome and apply formatting/lint fixes to all files (#1) 2024-10-31 13:43:50 +07:00
tsconfig.json Basic component editting 2024-10-23 00:32:27 +07:00
tsconfig.node.json wip 2024-10-01 15:09:23 +07:00
vite.config.ts Add Biome and apply formatting/lint fixes to all files (#1) 2024-10-31 13:43:50 +07:00

Crates.io Versiondocs.rs

Bevy Remote Inspector

A remote inspector for Bevy game engine, allowing you to inspect and modify entities in real-time. Alternative to bevy-inspector-egui.

Features

  • Entity hierarchy tree view, including drag and drop to update parent-child relationships.
  • Inspector showing entity's components and their properties, including adding/removing components. Capable of rendering and editing deeply nested Rust types (custom serialization/deserialization types may not work as expected).
  • Allow to toggle components on/off (work by temporarily removing the component from the entity).
  • Automatically reconnect when your Bevy app restarts.

https://github.com/user-attachments/assets/adf9c68c-ddbf-40a9-aedc-06006e574a15

Installation

  • bevy_remote_inspector currently require Bevy version 0.15.0.
cargo add bevy_remote_inspector

Usage

  • Add RemoteInspectorPlugins to your Bevy app.
use bevy_remote_inspector::RemoteInspectorPlugins;

fn main() {
    App::build()
        .add_plugins(DefaultPlugins)
        .add_plugins(RemoteInspectorPlugins)
        .run();
}
  • Then open https://bevy-remote-inspector.pages.dev/ in your browser and enter the default WebSocket URL ws://localhost:3000.
  • If you need to change the port you can import individual plugins and configure them.
use bevy_remote_inspector::{
    stream::{websocket::RemoteStreamWebSocketPlugin, RemoteStreamPlugin},
    RemoteInspectorPlugin,
};

fn main() {
    App::build()
        .add_plugins(DefaultPlugins)
        .add_plugins((
            RemoteStreamPlugin::default(),
            RemoteStreamWebSocketPlugin::default().with_port(1234),
            RemoteInspectorPlugin,
        ))
        .run();
}

Development

  • Run the example
cargo run --p example_simple
  • Run the web client
pnpm run dev

Bevy compatibility

bevy_remote_inspector bevy
0.1.0 0.15.0