]> git.seodisparate.com - LudumDare47_StuckInALoop/commitdiff
Fix window
authorStephen Seo <seo.disparate@gmail.com>
Sun, 4 Oct 2020 09:37:09 +0000 (18:37 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sun, 4 Oct 2020 09:37:09 +0000 (18:37 +0900)
resources/window.png
src/scenes/mainscene.rs

index 8a8c6577e4a237a43a3fe85aaae281f17cf5ad40..3fbb244c9d19dc95bb6409a2e212065a299867dc 100644 (file)
Binary files a/resources/window.png and b/resources/window.png differ
index 8405508067aa126b8d93beef6b57332cad5e7355..9ea31464a2a91295a8815bbf0eb3c90ca04fbc0a 100644 (file)
@@ -488,13 +488,6 @@ impl MainScene {
             Room::LeftOfPod => {}
             Room::MainHallFrontOfPod => {}
             Room::WindowRightHall => {
-                graphics::draw(
-                    ctx,
-                    &self.earth_image,
-                    DrawParam::new()
-                        .src(Rect::new(0f32, 0f32, 3f32 / 5f32, 3f32 / 5f32))
-                        .dest([800f32 / 5f32, 600f32 / 5f32]),
-                )?;
                 graphics::draw(
                     ctx,
                     &self.window_image,