simple hitpoint mechanic

This commit is contained in:
2025-03-12 23:25:13 +01:00
parent 709c1762bd
commit 8946289ac2
8 changed files with 140 additions and 29 deletions

View File

@@ -6,8 +6,10 @@ mod cash;
mod gates;
mod heads_ui;
mod movables;
mod npc;
mod platforms;
mod player;
mod shooting;
mod tb_entities;
use avian3d::PhysicsPlugins;
@@ -76,6 +78,8 @@ fn main() {
app.add_plugins(movables::plugin);
app.add_plugins(billboards::plugin);
app.add_plugins(aim::plugin);
app.add_plugins(shooting::plugin);
app.add_plugins(npc::plugin);
app.insert_resource(AmbientLight {
color: Color::WHITE,