diff --git a/resources/images/box.png b/resources/images/box.png index 38f61e4..293ed0c 100644 Binary files a/resources/images/box.png and b/resources/images/box.png differ diff --git a/resources/images/box_spot.png b/resources/images/box_spot.png index c5f659e..51a672d 100644 Binary files a/resources/images/box_spot.png and b/resources/images/box_spot.png differ diff --git a/resources/images/floor.png b/resources/images/floor.png index ee2711c..d4d72aa 100644 Binary files a/resources/images/floor.png and b/resources/images/floor.png differ diff --git a/resources/images/original/box.png b/resources/images/original/box.png new file mode 100644 index 0000000..38f61e4 Binary files /dev/null and b/resources/images/original/box.png differ diff --git a/resources/images/original/box_spot.png b/resources/images/original/box_spot.png new file mode 100644 index 0000000..c5f659e Binary files /dev/null and b/resources/images/original/box_spot.png differ diff --git a/resources/images/original/floor.png b/resources/images/original/floor.png new file mode 100644 index 0000000..ee2711c Binary files /dev/null and b/resources/images/original/floor.png differ diff --git a/resources/images/original/player.png b/resources/images/original/player.png new file mode 100644 index 0000000..a8f3b5b Binary files /dev/null and b/resources/images/original/player.png differ diff --git a/resources/images/original/wall.png b/resources/images/original/wall.png new file mode 100644 index 0000000..8a0e80a Binary files /dev/null and b/resources/images/original/wall.png differ diff --git a/resources/images/player.png b/resources/images/player.png index a8f3b5b..f2dd242 100644 Binary files a/resources/images/player.png and b/resources/images/player.png differ diff --git a/resources/images/wall.png b/resources/images/wall.png index 8a0e80a..d03d86d 100644 Binary files a/resources/images/wall.png and b/resources/images/wall.png differ diff --git a/src/main.rs b/src/main.rs index a596e43..061b118 100644 --- a/src/main.rs +++ b/src/main.rs @@ -172,6 +172,22 @@ pub fn initialize_level(world: &mut World) { z: 0, // we will get the z from the factory functions }, ); + create_floor( + world, + Position { + x: 0, + y: 1, + z: 0, + } + ); + create_player( + world, + Position { + x: 0, + y: 1, + z: 0, // we will get the z from the factory functions + }, + ); create_wall( world, Position { @@ -180,6 +196,14 @@ pub fn initialize_level(world: &mut World) { z: 0, // we will get the z from the factory functions }, ); + create_floor( + world, + Position { + x: 1, + y: 1, + z: 0, + } + ); create_box( world, Position { @@ -188,6 +212,46 @@ pub fn initialize_level(world: &mut World) { z: 0, // we will get the z from the factory functions }, ); + create_floor( + world, + Position { + x: 2, + y: 1, + z: 0, + } + ); + create_box( + world, + Position { + x: 2, + y: 1, + z: 0, // we will get the z from the factory functions + }, + ); + create_box_spot( + world, + Position { + x: 3, + y: 0, + z: 0, // we will get the z from the factory functions + }, + ); + create_box_spot( + world, + Position { + x: 3, + y: 1, + z: 0, // we will get the z from the factory functions + }, + ); + create_box( + world, + Position { + x: 3, + y: 1, + z: 0, // we will get the z from the factory functions + }, + ); }