Skip to content

Commit

Permalink
Merge pull request #189 from rewin123/issue-186/design-system
Browse files Browse the repository at this point in the history
Issue 186/design system
  • Loading branch information
rewin123 authored Feb 14, 2024
2 parents 26b9206 + 4a6246d commit 200b412
Show file tree
Hide file tree
Showing 41 changed files with 1,007 additions and 330 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
# space_editor: The Bevy Prefab Editor
License: MIT

![Editor screenshot](docs/imgs/showcase-03.png)
### Editor in Edit Mode
![Editor in edit mode](docs/imgs/space_editor.png)

### Editor in Play Mode
![Editor in play mode](docs/imgs/space_editor_playmode.png)

space_editor is useful tool for scene/prefab/prototyping with bevy engine. Its allow to create/modify levels/scenes/prefabs in fast gui based way.

## Project goal

Aspires to be editor for bevy while there is no official editor.

## Core Team

* Project Lead: rewin <[email protected]>
* Developer Experience: Julia Naomi <[email protected]>
* UX Designer: Jay Kim <[email protected]>

## Main features

- **Intuitive Scene and Prefab Management**: Space Editor allows you to prepare and save scenes and prefabs with an intuitive user interface. You can easily reuse them in your game development workflow.
Expand Down
4 changes: 0 additions & 4 deletions assets/.scn.ron

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
209 changes: 209 additions & 0 deletions assets/scenes/model_with_collider.scn.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
(
resources: {},
entities: {
9: (
components: {
"bevy_transform::components::transform::Transform": (
translation: (
x: 0.6145791,
y: 0.054736555,
z: 0.14563978,
),
rotation: (
x: 0.5,
y: 0.5,
z: -0.5,
w: 0.50000006,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
"bevy_render::view::visibility::Visibility": Inherited,
"space_prefab::component::AssetMesh": (
path: "models\\low_poly_fighter_2.gltf#Mesh1/Primitive0",
),
"space_prefab::component::AssetMaterial": (
path: "models\\low_poly_fighter_2.gltf#Material1",
),
"space_prefab::save::ChildrenPrefab": ([
10,
]),
},
),
10: (
components: {
"bevy_transform::components::transform::Transform": (
translation: (
x: -0.0015763491,
y: 0.27077,
z: 0.0018413959,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
w: 1.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
"bevy_render::view::visibility::Visibility": Inherited,
"space_prefab::component::AssetMesh": (
path: "models\\low_poly_fighter_2.gltf#Mesh0/Primitive0",
),
"space_prefab::component::AssetMaterial": (
path: "models\\low_poly_fighter_2.gltf#Material0",
),
},
),
11: (
components: {
"bevy_transform::components::transform::Transform": (
translation: (
x: 0.6125513,
y: 0.058001567,
z: -0.13519481,
),
rotation: (
x: 0.5,
y: 0.5,
z: -0.5,
w: 0.50000006,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
"bevy_render::view::visibility::Visibility": Inherited,
"space_prefab::component::AssetMesh": (
path: "models\\low_poly_fighter_2.gltf#Mesh1/Primitive0",
),
"space_prefab::component::AssetMaterial": (
path: "models\\low_poly_fighter_2.gltf#Material1",
),
"space_prefab::save::ChildrenPrefab": ([
12,
]),
},
),
12: (
components: {
"bevy_transform::components::transform::Transform": (
translation: (
x: 0.0074897856,
y: 0.27279782,
z: 0.005106408,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
w: 1.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
"bevy_render::view::visibility::Visibility": Inherited,
"space_prefab::component::AssetMesh": (
path: "models\\low_poly_fighter_2.gltf#Mesh0/Primitive0",
),
"space_prefab::component::AssetMaterial": (
path: "models\\low_poly_fighter_2.gltf#Material0",
),
},
),
4294967301: (
components: {
"bevy_transform::components::transform::Transform": (
translation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
rotation: (
x: 0.0,
y: -0.7071068,
z: 0.0,
w: 0.7071068,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
"bevy_render::view::visibility::Visibility": Inherited,
"space_prefab::component::AssetMesh": (
path: "models\\low_poly_fighter_2.gltf#Mesh2/Primitive0",
),
"space_prefab::component::AssetMaterial": (
path: "models\\low_poly_fighter_2.gltf#Material2",
),
"space_prefab::save::ChildrenPrefab": ([
9,
11,
]),
"space_bevy_xpbd_plugin::collider::ColliderPrefab": Primitive(
pos: (
x: 0.0,
y: 0.0,
z: 0.0,
),
rot: (
x: 1.6,
y: 0.0,
z: 0.0,
),
primitive: Capsule(
height: 2.0,
radius: 1.0,
),
),
"space_bevy_xpbd_plugin::registry::RigidBodyPrefab": Static,
"bevy_xpbd_3d::components::mass_properties::Mass": (20.944126),
"bevy_xpbd_3d::components::Friction": (
dynamic_coefficient: 0.3,
static_coefficient: 0.3,
combine_rule: Average,
),
"bevy_xpbd_3d::components::Restitution": (
coefficient: 0.3,
combine_rule: Average,
),
"bevy_xpbd_3d::components::mass_properties::Inertia": ((
x_axis: (
x: 25.338547,
y: 0.0,
z: 0.0,
),
y_axis: (
x: 0.0,
y: 18.163773,
z: -1.9881122,
),
z_axis: (
x: 0.0,
y: -1.9881113,
z: 16.805347,
),
)),
"bevy_xpbd_3d::components::mass_properties::CenterOfMass": ((
x: 0.0,
y: 0.0,
z: 0.0,
)),
},
),
},
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions crates/editor_ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ space_shared.workspace = true
serde.workspace = true

bevy_egui = "0.24"
egui_extras = { version = "0.24", features = ["all_loaders"] }
resvg = "0.37"
egui-gizmo = "0.13"
egui_dock = "0.9"

Expand Down
Loading

0 comments on commit 200b412

Please sign in to comment.