ui
This commit is contained in:
parent
25896a5a92
commit
db19b9c416
@ -7,5 +7,5 @@ edition = "2024"
|
|||||||
aeronet = "0.19.0"
|
aeronet = "0.19.0"
|
||||||
aeronet_replicon = { version = "0.19.0", features = ["client", "server"] }
|
aeronet_replicon = { version = "0.19.0", features = ["client", "server"] }
|
||||||
avian2d = "0.5.0"
|
avian2d = "0.5.0"
|
||||||
bevy = "0.18.0"
|
bevy = { version = "0.18.0", features = ["debug"] }
|
||||||
bevy_replicon = "0.38.2"
|
bevy_replicon = "0.38.2"
|
||||||
|
|||||||
BIN
assets/FiraSans-Bold.ttf
Normal file
BIN
assets/FiraSans-Bold.ttf
Normal file
Binary file not shown.
1
assets/logo.png
Symbolic link
1
assets/logo.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/mitchell/Pictures/time_travel_logo.png
|
||||||
@ -26,6 +26,7 @@ fn main() {
|
|||||||
PhysicsPlugins::default().with_length_unit(20.0),
|
PhysicsPlugins::default().with_length_unit(20.0),
|
||||||
CharacterControllerPlugin,
|
CharacterControllerPlugin,
|
||||||
))
|
))
|
||||||
|
.init_resource::<InputFocus>()
|
||||||
.add_systems(Startup, setup)
|
.add_systems(Startup, setup)
|
||||||
.add_systems(Update, debug_border)
|
.add_systems(Update, debug_border)
|
||||||
.add_systems(Update, do_menu)
|
.add_systems(Update, do_menu)
|
||||||
@ -107,7 +108,7 @@ fn button(asset_server: &AssetServer) -> impl Bundle {
|
|||||||
children![(
|
children![(
|
||||||
Text::new("Button"),
|
Text::new("Button"),
|
||||||
TextFont {
|
TextFont {
|
||||||
font: asset_server.load("fonts/FiraSans-Bold.ttf"),
|
font: asset_server.load("FiraSans-Bold.ttf"),
|
||||||
font_size: 33.0,
|
font_size: 33.0,
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user