chnage textures
Some checks failed
Rust Checks / checks (push) Failing after 9s

This commit is contained in:
CoCo_Sol 2024-03-09 14:21:29 +01:00
parent 87c8f508d8
commit f8eb587f9f
4 changed files with 7 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 715 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 832 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -43,16 +43,16 @@ impl Tile {
pub const fn get_image_size(&self) -> Vec2 { pub const fn get_image_size(&self) -> Vec2 {
match self { match self {
Self::Grass => Vec2 { Self::Grass => Vec2 {
x: 1250.0, x: 184.0,
y: 1000.0, y: 164.0,
}, },
Self::Forest => Vec2 { Self::Forest => Vec2 {
x: 1250.0, x: 184.0,
y: 1000.0, y: 138.0,
}, },
Self::Hill => Vec2 { Self::Hill => Vec2 {
x: 1250.0, x: 184.0,
y: 1300.0, y: 181.0,
}, },
} }
} }
@ -60,7 +60,7 @@ impl Tile {
/// Init resources related to the rendering of the map. /// Init resources related to the rendering of the map.
fn init_resources_for_rendering(mut commands: Commands) { 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. })) commands.insert_resource(TilesSize(Vec2 { x: 125., y: 100. }))
} }