diff --git a/crates/border-wars/assets/tiles/forest.png b/crates/border-wars/assets/tiles/forest.png index d902377..1e4d2d5 100644 Binary files a/crates/border-wars/assets/tiles/forest.png and b/crates/border-wars/assets/tiles/forest.png differ diff --git a/crates/border-wars/assets/tiles/grass.png b/crates/border-wars/assets/tiles/grass.png index 1969729..f7327e7 100644 Binary files a/crates/border-wars/assets/tiles/grass.png and b/crates/border-wars/assets/tiles/grass.png differ diff --git a/crates/border-wars/assets/tiles/hill.png b/crates/border-wars/assets/tiles/hill.png index 0ac3d46..e8cabed 100644 Binary files a/crates/border-wars/assets/tiles/hill.png and b/crates/border-wars/assets/tiles/hill.png differ diff --git a/crates/border-wars/src/map/renderer.rs b/crates/border-wars/src/map/renderer.rs index e1363db..7e9faa3 100644 --- a/crates/border-wars/src/map/renderer.rs +++ b/crates/border-wars/src/map/renderer.rs @@ -43,16 +43,16 @@ impl Tile { pub const fn get_image_size(&self) -> Vec2 { match self { Self::Grass => Vec2 { - x: 1250.0, - y: 1000.0, + x: 184.0, + y: 164.0, }, Self::Forest => Vec2 { - x: 1250.0, - y: 1000.0, + x: 184.0, + y: 138.0, }, Self::Hill => Vec2 { - x: 1250.0, - y: 1300.0, + x: 184.0, + y: 181.0, }, } } @@ -60,7 +60,7 @@ impl Tile { /// Init resources related to the rendering of the map. fn init_resources_for_rendering(mut commands: Commands) { - commands.insert_resource(TilesGap(Vec2 { x: 70., y: 40. })); + commands.insert_resource(TilesGap(Vec2 { x: 70., y: 35. })); commands.insert_resource(TilesSize(Vec2 { x: 125., y: 100. })) }