gun shots (#16)
This commit is contained in:
@@ -26,6 +26,7 @@ use bevy::core_pipeline::tonemapping::Tonemapping;
|
||||
use bevy::prelude::*;
|
||||
use bevy::render::view::ColorGrading;
|
||||
use bevy::scene::SceneInstanceReady;
|
||||
use bevy_polyline::PolylinePlugin;
|
||||
use bevy_trenchbroom::prelude::*;
|
||||
use control::controller::CharacterControllerPlugin;
|
||||
use physics_layers::GameLayer;
|
||||
@@ -63,6 +64,8 @@ fn main() {
|
||||
|
||||
app.add_plugins(PhysicsPlugins::default());
|
||||
app.add_plugins(CharacterControllerPlugin);
|
||||
app.add_plugins(PolylinePlugin);
|
||||
app.add_plugins(TrenchBroomPlugin(TrenchBroomConfig::new("hedz")));
|
||||
|
||||
#[cfg(feature = "dbg")]
|
||||
{
|
||||
@@ -102,8 +105,6 @@ fn main() {
|
||||
});
|
||||
app.insert_resource(ClearColor(Color::BLACK));
|
||||
|
||||
app.add_plugins(TrenchBroomPlugin(TrenchBroomConfig::new("hedz")));
|
||||
|
||||
app.add_systems(Startup, (write_trenchbroom_config, music));
|
||||
app.add_systems(PostStartup, setup_scene);
|
||||
app.add_systems(Update, (set_materials_unlit, set_tonemapping, set_shadows));
|
||||
|
||||
Reference in New Issue
Block a user