use macroquad::window::{screen_height, screen_width}; pub fn window_width() -> f32 { (screen_width() * 0.8).min(screen_height() * 0.5) }