Build production-ready editor authoring workflows
CI / Format, lint, test, build (push) Waiting to run

This commit is contained in:
Rbanh committed 2026-07-11 12:41:04 -04:00
1 parent cc1fa6ea3b
commit 0553a85220
163 files changed
+34547 -1565

No files matched your search

+147 -24
View File
@@ -1,4 +1,36 @@
[
(
id: ("c0a7d10e-53c1-4de0-b0dc-34a66f44ba77"),
path: "assets/audio/editor_audition_tone.ogg",
label: "editor_audition_tone",
kind_tag: "AudioClip",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("fe40db93-181f-4c79-86e6-26bd97464c4b"),
path: "assets/audio/Puzzle Lobby.mp3",
label: "Puzzle Lobby",
kind_tag: "AudioClip",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("31963299-d4c1-45dc-8f67-2f469ca1ad6d"),
path: "assets/post_fx/chromatic_aberration.ron",
@@ -47,27 +79,6 @@
),
dependencies: [],
),
(
id: ("71071fc3-7a7f-454d-b9ab-93ebf0feccbe"),
path: "assets/models/metal_stool_01_2k.gltf",
label: "metal_stool_01_2k",
kind_tag: "Model",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: SceneInstance,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: Some("assets/meshes/generated/71071fc3-7a7f-454d-b9ab-93ebf0feccbe.static_mesh.ron"),
),
dependencies: [
"assets/models/metal_stool_01.bin",
"assets/models/textures/metal_stool_01_arm_2k.jpg",
"assets/models/textures/metal_stool_01_diff_2k.jpg",
"assets/models/textures/metal_stool_01_nor_gl_2k.jpg",
],
),
(
id: ("c4abe41c-ac88-4aec-8168-27e8a7c90583"),
path: "assets/textures/metal_stool_01_nor_gl_2k.jpg",
@@ -120,7 +131,7 @@
id: ("61802b85-fda9-4aff-94d9-fe5f0860c516"),
path: "assets/levels/rendering_showcase.scn.ron",
label: "rendering_showcase.scn",
kind_tag: "Prefab",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
@@ -136,7 +147,23 @@
id: ("48bcef13-e6a6-4260-bb1b-c29787bd8c70"),
path: "assets/levels/editor_scene 3.scn.ron",
label: "editor_scene 3.scn",
kind_tag: "Prefab",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("f3dfcd11-aa5b-4fd4-872b-06832b865c99"),
path: "assets/levels/audio_authoring_showcase.scn.ron",
label: "audio_authoring_showcase.scn",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
@@ -152,7 +179,7 @@
id: ("5a2307d0-48e5-40d3-a5c9-527c0cfd30f4"),
path: "assets/levels/editor_scene.scn.ron",
label: "editor_scene.scn",
kind_tag: "Prefab",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
@@ -168,6 +195,54 @@
id: ("dc13ce01-c7ce-43c5-974c-0e659ae49ab9"),
path: "assets/levels/editor_scene 2.scn.ron",
label: "editor_scene 2.scn",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("c14f6240-5654-4e80-9edb-2b4c44cf8d61"),
path: "assets/prefabs/example_variant.scn.ron",
label: "example_variant.scn",
kind_tag: "Prefab",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("682191d6-59cd-46a1-9560-6cf7bc1583b2"),
path: "assets/prefabs/example_nested.scn.ron",
label: "example_nested.scn",
kind_tag: "Prefab",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("862530b2-8111-4ebb-9078-29723c002e08"),
path: "assets/prefabs/example_base.scn.ron",
label: "example_base.scn",
kind_tag: "Prefab",
import_settings: (
scale: 1.0,
@@ -244,6 +319,54 @@
),
dependencies: [],
),
(
id: ("64fea29e-c123-4987-92dc-ca25f4dc7dea"),
path: "assets/build_profiles/qa.ron",
label: "qa",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("9213efe6-12c7-45a8-8b64-9e1699f76ba3"),
path: "assets/build_profiles/development.ron",
label: "development",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("de76f1c9-f05d-48d3-bb69-6b7ce05f29d8"),
path: "assets/build_profiles/release.ron",
label: "release",
kind_tag: "Level",
import_settings: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: StaticAsset,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
static_mesh_manifest_path: None,
),
dependencies: [],
),
(
id: ("7b143cfb-a9e9-45d4-8f01-cfaa66fa9811"),
path: "assets/shaders/unlit.shader.ron",
Binary file not shown.
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
(
version: 1,
name: "Development",
cargo_profile: Development,
target: None,
features: [],
rendering_tier: "development",
default_scene: Some("assets/levels/editor_scene.scn.ron"),
output_dir: "dist/development",
)
+10
View File
@@ -0,0 +1,10 @@
(
version: 1,
name: "QA",
cargo_profile: Qa,
target: None,
features: [],
rendering_tier: "representative",
default_scene: Some("assets/levels/editor_scene.scn.ron"),
output_dir: "dist/qa",
)
+10
View File
@@ -0,0 +1,10 @@
(
version: 1,
name: "Release",
cargo_profile: Release,
target: None,
features: [],
rendering_tier: "shipping",
default_scene: Some("assets/levels/editor_scene.scn.ron"),
output_dir: "dist/release",
)
@@ -0,0 +1,56 @@
(schema_version: 2,
resources: {},
entities: {
4294969001: (
components: {
"bevy_ecs::name::Name": "Audition Tone Source",
"bevy_transform::components::transform::Transform": (
translation: (0.0, 1.5, -4.0),
rotation: (0.0, 0.0, 0.0, 1.0),
scale: (1.0, 1.0, 1.0),
),
"shared::components::LevelObject": (),
"shared::components::ActorId": ("audio-showcase-source"),
"shared::components::ActorKind": AudioSource,
"shared::components::AudioSourceDesc": (
clip: Some((
asset_id: "c0a7d10e-53c1-4de0-b0dc-34a66f44ba77",
sub_asset_id: "audio:source",
label: "Editor Audition Tone",
source_path: Some("assets/audio/editor_audition_tone.ogg"),
)),
gain_db: -6.0,
pitch: 1.0,
looping: false,
autoplay: true,
spatial_blend: 1.0,
attenuation: (
min_distance: 1.0,
max_distance: 18.0,
rolloff: Inverse,
rolloff_factor: 1.0,
),
bus: "sfx",
),
},
),
4294969002: (
components: {
"bevy_ecs::name::Name": "Showcase Listener",
"bevy_transform::components::transform::Transform": (
translation: (0.0, 1.7, 0.0),
rotation: (0.0, 0.0, 0.0, 1.0),
scale: (1.0, 1.0, 1.0),
),
"shared::components::LevelObject": (),
"shared::components::ActorId": ("audio-showcase-listener"),
"shared::components::ActorKind": AudioListener,
"shared::components::AudioListenerDesc": (
enabled: true,
priority: 100,
ear_gap: 0.2,
),
},
),
},
)
@@ -1,55 +0,0 @@
(
schema_version: 1,
asset_id: "71071fc3-7a7f-454d-b9ab-93ebf0feccbe",
label: "metal_stool_01_2k",
source: (
path: "assets/models/metal_stool_01_2k.gltf",
format: "gltf",
fingerprint: (
byte_len: 2790,
modified_unix_secs: 1780734867,
),
dependencies: [
"assets/models/metal_stool_01.bin",
"assets/models/textures/metal_stool_01_arm_2k.jpg",
"assets/models/textures/metal_stool_01_diff_2k.jpg",
"assets/models/textures/metal_stool_01_nor_gl_2k.jpg",
],
),
import: (
scale: 1.0,
generate_collider: true,
lod0_only: true,
placement_mode: SceneInstance,
hierarchy_mode: SingleActor,
material_policy: SourceMaterials,
),
metadata: (
mesh_count: 1,
material_count: 1,
node_count: 1,
animation_count: 0,
skin_count: 0,
light_count: 0,
camera_count: 0,
),
parts: [
(
id: "mesh:mesh0_primitive0",
name: "metal_stool_01 / Primitive 0",
mesh_label: "Mesh0/Primitive0",
material_id: Some("material:material0"),
material_slot_name: "metal_stool_01",
material_label: Some("Material0"),
local_transform: (
translation: (0.0, 0.0, 0.0),
rotation: (0.0, 0.0, 0.0, 1.0),
scale: (1.0, 1.0, 1.0),
),
source_node: Some("Node0"),
source_mesh: Some("Mesh0"),
source_material: Some("metal_stool_01"),
),
],
warnings: [],
)
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
# RobotExpressive License And Attribution
`robot_expressive.glb` is the RobotExpressive model from the Three.js example assets.
- Model: Tomas Laulhe (Quaternius)
- Modifications and glTF conversion: Don McCurdy
- License: CC0 1.0 Universal
- Source: https://github.com/mrdoob/three.js/tree/dev/examples/models/gltf/RobotExpressive
- Imported source SHA-256: `047f5e5fb3bb6d378bd1df16ca6137f2a596c99b3a1b5690b4020c05aaf6f319`
The upstream modifications add facial-expression morph targets, convert the source with FBX2GLTF,
remove duplicate materials, and reduce material metalness.
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
# Prefab fixtures
The `example_base` -> `example_nested` -> `example_variant` chain is the production-format
fixture for linked prefab ownership, nested stable actor paths, and variant override layering.
The variant hides `base-mesh` through an `EditorVisibility` component override targeted as
`nested-link / base-link / base-mesh` when the variant is placed in a scene.
Keep these files loadable by the editor and valid under `cargo validate-levels`. Broken-source,
cycle, and conflict fixtures belong in temporary test projects so the shipped asset tree remains
healthy.
+19
View File
@@ -0,0 +1,19 @@
(schema_version: 2,
resources: {},
entities: {
1: (
components: {
"bevy_ecs::name::Name": "Example Base Mesh",
"bevy_transform::components::transform::Transform": (
translation: (0.0, 0.0, 0.0),
rotation: (0.0, 0.0, 0.0, 1.0),
scale: (1.0, 1.0, 1.0),
),
"shared::components::ActorId": ("base-mesh"),
"shared::components::ActorKind": Empty,
"shared::components::EditorVisibility": (visible: true),
"shared::components::LevelObject": (),
},
),
},
)
+23
View File
@@ -0,0 +1,23 @@
(schema_version: 2,
resources: {},
entities: {
1: (
components: {
"bevy_ecs::name::Name": "Example Base Link",
"bevy_transform::components::transform::Transform": (
translation: (0.0, 0.0, 0.0),
rotation: (0.0, 0.0, 0.0, 1.0),
scale: (1.0, 1.0, 1.0),
),
"shared::components::ActorId": ("base-link"),
"shared::components::ActorKind": PrefabAnchor,
"shared::components::LevelObject": (),
"shared::components::PrefabInstance": (
asset_id: "11111111-1111-4111-8111-111111111111",
source_path: "assets/prefabs/example_base.scn.ron",
overrides_ron: None,
),
},
),
},
)
+23
View File
@@ -0,0 +1,23 @@
(schema_version: 2,
resources: {},
entities: {
1: (
components: {
"bevy_ecs::name::Name": "Example Nested Variant Link",
"bevy_transform::components::transform::Transform": (
translation: (0.0, 0.0, 0.0),
rotation: (0.0, 0.0, 0.0, 1.0),
scale: (1.0, 1.0, 1.0),
),
"shared::components::ActorId": ("nested-link"),
"shared::components::ActorKind": PrefabAnchor,
"shared::components::LevelObject": (),
"shared::components::PrefabInstance": (
asset_id: "22222222-2222-4222-8222-222222222222",
source_path: "assets/prefabs/example_nested.scn.ron",
overrides_ron: Some("(format_version:2,source_revision:None,transform:None,material:None,child_visibility:{},properties:[],components:[(target:(instance_chain:[\"base-link\"],actor_id:\"base-mesh\"),component_type:\"shared::components::EditorVisibility\",base_component_ron:Some(\"(visible:true)\"),value_component_ron:Some(\"(visible:false)\"))],structural:[])"),
),
},
),
},
)
+30
View File
@@ -1,8 +1,13 @@
(
version: 1,
project_id: "blacksite-foundation",
name: "Bevy FPS Foundation",
project_kind: Game,
template_version: 1,
capabilities: ["editor", "gameplay", "rendering", "audio", "solari"],
default_level: "assets/levels/editor_scene.scn.ron",
asset_roots: [
"assets/audio",
"assets/models",
"assets/textures",
"assets/materials",
@@ -29,6 +34,31 @@
shadow_first_cascade: 6.0,
shadow_max_distance: 220.0,
),
audio: (
buses: [
(
id: "master",
label: "Master",
parent: None,
gain_db: 0.0,
muted: false,
),
(
id: "music",
label: "Music",
parent: Some("master"),
gain_db: 0.0,
muted: false,
),
(
id: "sfx",
label: "SFX",
parent: Some("master"),
gain_db: 0.0,
muted: false,
),
],
),
physics: (
player_radius: 0.4,
player_length: 1.0,