forked from kaosat-dev/Blenvy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bevy_components): set of fixes & improvements (kaosat-dev#128)
* fixed issue with "reload registry" not clearing previous data * added watcher/ poll system to automatically updated the registry & components list when the registry file has been changed * BREAKING CHANGE ! changed internal representation of components, incompatible with v0.1, breaks UI values. * added buttons to regenerate UI to account for/fix the above and to offer the ability to regenerate UI values from custom property values * lots of cleanups * added tests * closes kaosat-dev#127 * closes kaosat-dev#124 * closes kaosat-dev#121 * closes kaosat-dev#130
- Loading branch information
1 parent
0083295
commit 20b6fa6
Showing
56 changed files
with
13,293 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
+1.48 KB
(110%)
examples/bevy_registry_export/basic/assets/models/World.glb
Binary file not shown.
Binary file modified
BIN
+60 Bytes
(100%)
examples/bevy_registry_export/basic/assets/models/library/Container.glb
Binary file not shown.
Binary file modified
BIN
+152 Bytes
(100%)
examples/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb
Binary file not shown.
Binary file modified
BIN
+52 Bytes
(100%)
examples/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb
Binary file not shown.
Binary file modified
BIN
+48 Bytes
(100%)
examples/bevy_registry_export/basic/assets/models/library/Pillar.glb
Binary file not shown.
Binary file modified
BIN
+84 Bytes
(100%)
examples/bevy_registry_export/basic/assets/models/library/Player.glb
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "bevy_bevy_registry_export_basic_testing" | ||
version = "0.3.0" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
|
||
[dependencies] | ||
bevy="0.12" | ||
bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } | ||
bevy_registry_export = { path = "../../../crates/bevy_registry_export" } | ||
bevy_gltf_worlflow_examples_common = { path = "../../../examples/common" } | ||
|
||
bevy_rapier3d = { version = "0.23.0", features = [ "serde-serialize", "debug-render-3d", "enhanced-determinism"] } | ||
bevy_asset_loader = { version = "0.18", features = ["standard_dynamic_assets" ]} | ||
bevy_editor_pls = { version = "0.6" } | ||
rand = "0.8.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Bevy registry export example/demo | ||
|
||
This example showcases | ||
* the use of the bevy_registry_export crate to extract all components & types information into a json file. | ||
* That file is then used by the [Blender addon](https://github.com/kaosat-dev/Blender_bevy_components_workflow/tree/main/tools/bevy_components) to create Uis for each component, | ||
to be able to add & edit Bevy components easilly in Blender ! | ||
|
||
|
||
## Running this example | ||
|
||
``` | ||
cargo run --features bevy/dynamic_linking | ||
``` | ||
|
||
Running the example also regenerates the registry.json file. |
1 change: 1 addition & 0 deletions
1
testing/bevy_registry_export/basic/assets/assets_core.assets.ron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
({}) |
6 changes: 6 additions & 0 deletions
6
testing/bevy_registry_export/basic/assets/assets_game.assets.ron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
"world":File (path: "models/World.glb"), | ||
"models": Folder ( | ||
path: "models/library", | ||
), | ||
}) |
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.88 KB
testing/bevy_registry_export/basic/assets/models/library/Container.glb
Binary file not shown.
Binary file added
BIN
+5.33 KB
testing/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb
Binary file not shown.
Binary file added
BIN
+23.4 KB
testing/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.44 KB
testing/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb
Binary file not shown.
Oops, something went wrong.