Pause menu dummy (#54)

This commit is contained in:
extrawurst
2025-06-29 22:53:27 +02:00
committed by GitHub
parent 7996d632f7
commit 7cb9a33f79
9 changed files with 232 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
use super::{BackbackSwapEvent, Backpack, UiHeadState};
use crate::{
GameState, global_observer, heads::HeadsImages, loading_assets::UIAssets, sounds::PlaySound,
GameState, HEDZ_GREEN, global_observer, heads::HeadsImages, loading_assets::UIAssets,
sounds::PlaySound,
};
use bevy::{ecs::spawn::SpawnIter, prelude::*};
@@ -96,7 +97,7 @@ fn setup(mut commands: Commands, assets: Res<UIAssets>) {
font_size: 34.0,
..default()
},
TextColor(Color::Srgba(Srgba::rgb(0., 1., 0.))),
TextColor(HEDZ_GREEN.into()),
TextLayout::new_with_justify(JustifyText::Center),
Node {
position_type: PositionType::Absolute,