diff --git a/game_core/src/system/load_config.rs b/game_core/src/system/load_config.rs index 4221c06e7d68a555fa6b7721d297886efc31351d..8d172b9ab361ff5876a0caefaa900891d4ae7249 100644 --- a/game_core/src/system/load_config.rs +++ b/game_core/src/system/load_config.rs @@ -38,6 +38,7 @@ mod setup { .and_then(|val| val.as_f64().map(|v| v as f32)) .unwrap_or(default_height); + log::info!("Using w/h without ratio: {}/{}", w, h); Some((w, h)) }) .unwrap_or((default_width, default_height)) @@ -62,6 +63,7 @@ mod setup { .and_then(|val| val.as_f64().map(|v| v as f32)) .unwrap_or(default_height); + log::info!("Using w/h with ratio: {}/{}", w, h / ratio); Some((w, h / ratio)) }) .unwrap_or((default_width, default_height)) diff --git a/game_core/src/system/resources.rs b/game_core/src/system/resources.rs index b684f08f0a08df34993c50af2237a907c8b2192d..9ac587c915a74e3e59a82e30393655786d1701c4 100644 --- a/game_core/src/system/resources.rs +++ b/game_core/src/system/resources.rs @@ -11,8 +11,8 @@ impl Plugin for DefaultResourcesPlugin { let (width, height) = initial_size(); app.insert_resource(WindowDescriptor { - width: width * 2.0, - height: height * 2.0, + width: width * 3.0, + height: height * 3.0, resizable: true, title: String::from("Ludum Dare 51"), present_mode: PresentMode::AutoNoVsync,