feat: better 'Vulnerable' tag for ghosts, fix movement issues

This commit is contained in:
Ryan Walters
2025-08-28 13:18:36 -05:00
parent f31b4952e4
commit d3e83262db
8 changed files with 71 additions and 121 deletions

View File

@@ -82,10 +82,12 @@ pub fn startup_stage_system(
// TODO: Remove TextOnly tag component
}
(StartupSequence::CharactersVisible { .. }, StartupSequence::GameActive) => {
// Remove Frozen tag from all entities
// Remove Frozen tag from all entities and enable player input
for entity in player_query.iter_mut().chain(ghost_query.iter_mut()) {
tracing::info!("Removing Frozen component from entity {}", entity);
commands.entity(entity).remove::<Frozen>();
}
// TODO: Add GameActive tag component
// TODO: Remove CharactersVisible tag component
}