improve graphics and add camera controls

This commit is contained in:
Jim 2025-08-24 14:46:57 -04:00
parent 82a0fbdb50
commit 87fcc2b817
Signed by: jim
GPG key ID: 3236D2F059A7C0AC
12 changed files with 367 additions and 93 deletions

View file

@ -32,12 +32,13 @@ impl Plugin for StatePlugin {
Update,
(
GameSystemSet::UpdateInputs,
GameSystemSet::UI,
(
GameSystemSet::PreUpdate,
GameSystemSet::Update,
GameSystemSet::PostUpdate,
)
.run_if(in_state(GameState::Running).or(in_state(GameState::Paused)))
.run_if(in_state(GameState::Running))
.chain(),
)
.chain(),
@ -68,7 +69,8 @@ pub enum GameState {
pub enum GameSystemSet {
// runs even if game is not loaded/active
UpdateInputs,
// update - cosmetic only. runs while game is paused
UI,
// update - cosmetic only. does not run while game is paused
PreUpdate,
Update,
PostUpdate,