i put a bus in the pause menu

This commit is contained in:
gyoder 2026-01-03 20:34:42 -07:00
parent 7dcacb682a
commit e14aab570b

View file

@ -100,6 +100,20 @@ fn setup_pause(
button_font.clone(), // Maybe make bold?
RenderLayers::layer(3),
));
let bus_image = assets.load("bus/basicbus.png");
ui.spawn((
UiLayout::window()
.pos((Rl(50.), Rl(5.)))
.size(Rl(50.))
.anchor(Anchor::TOP_LEFT)
.pack(),
Sprite {
image: bus_image,
custom_size: Some(Vec2::new(192., 133.)),
..default()
},
RenderLayers::layer(3),
));
ui.spawn((UiLayout::boundary()
.pos1((Rl(05.), Rl(30.)))
.pos2((Rl(95.), Rl(90.)))