enemy can drop key
This commit is contained in:
@@ -5,6 +5,7 @@ mod camera;
|
||||
mod cash;
|
||||
mod gates;
|
||||
mod heads_ui;
|
||||
mod keys;
|
||||
mod movables;
|
||||
mod npc;
|
||||
mod platforms;
|
||||
@@ -61,12 +62,14 @@ fn main() {
|
||||
// });
|
||||
|
||||
app.add_plugins(PhysicsPlugins::default());
|
||||
// app.add_plugins(PhysicsDebugPlugin::default());
|
||||
app.add_plugins((
|
||||
TnuaControllerPlugin::new(FixedUpdate),
|
||||
TnuaAvian3dPlugin::new(FixedUpdate),
|
||||
));
|
||||
|
||||
// app.add_plugins(PhysicsDebugPlugin::default());
|
||||
// app.add_plugins(bevy_inspector_egui::quick::WorldInspectorPlugin::default());
|
||||
|
||||
app.add_systems(Update, Dolly::<MainCamera>::update_active);
|
||||
|
||||
app.add_plugins(alien::plugin);
|
||||
@@ -80,12 +83,12 @@ fn main() {
|
||||
app.add_plugins(aim::plugin);
|
||||
app.add_plugins(shooting::plugin);
|
||||
app.add_plugins(npc::plugin);
|
||||
app.add_plugins(keys::plugin);
|
||||
|
||||
app.insert_resource(AmbientLight {
|
||||
color: Color::WHITE,
|
||||
brightness: 400.,
|
||||
});
|
||||
app.add_plugins(bevy_inspector_egui::quick::WorldInspectorPlugin::default());
|
||||
|
||||
app.add_plugins(TrenchBroomPlugin(TrenchBroomConfig::new("hedz")));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user