From a201c2466ba61a48b279adf613b3d32c7d3ac567 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Fri, 22 Aug 2025 12:47:33 -0700 Subject: [PATCH] remove window sizing --- justfile | 5 ++++- src/bin/flappy/main.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index e04864e..891a653 100644 --- a/justfile +++ b/justfile @@ -33,8 +33,11 @@ web GAME: serve GAME: (web GAME) simple-http-server dist/{{GAME}} -itchio GAME: (web GAME) +itchio-dry GAME: (web GAME) butler push --dry-run dist/{{GAME}} popgame/{{GAME}}:html5 --userversion={{VERSION}} +itchio GAME: (web GAME) + butler push dist/{{GAME}} popgame/{{GAME}}:html5 --userversion={{VERSION}} + clean: rm -rf dist/* diff --git a/src/bin/flappy/main.rs b/src/bin/flappy/main.rs index d8507e1..32abb6b 100644 --- a/src/bin/flappy/main.rs +++ b/src/bin/flappy/main.rs @@ -16,7 +16,7 @@ fn main() { title: "flappy bird (with rewind)".into(), name: "flappy".into(), game_type: GameType::Two, - window: Some(Window { resolution: WindowResolution::new(360.0, 640.0), ..default() }) + ..default() }, Physics2dPlugin, ))