diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-11-13 18:01:33 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-11-13 18:24:37 +0100 |
commit | f0830e11b81dcbbcac0e44a24bf6d7211530ae28 (patch) | |
tree | 46de5d16944683ee4eba5bff8909c2cbca813bb5 | |
parent | 3293d06b364bc91348f6a305f97e607ff610eb98 (diff) |
add assets
22 files changed, 6 insertions, 2 deletions
diff --git a/assets/img/Atlas.png b/assets/img/Atlas.png Binary files differnew file mode 100644 index 0000000..bf9e821 --- /dev/null +++ b/assets/img/Atlas.png diff --git a/assets/img/Buildings/buildings.png b/assets/img/Buildings/buildings.png Binary files differnew file mode 100644 index 0000000..74636ab --- /dev/null +++ b/assets/img/Buildings/buildings.png diff --git a/assets/img/FX/Death Explosion.png b/assets/img/FX/Death Explosion.png Binary files differnew file mode 100644 index 0000000..f3c48e3 --- /dev/null +++ b/assets/img/FX/Death Explosion.png diff --git a/assets/img/Font/Font.png b/assets/img/Font/Font.png Binary files differnew file mode 100644 index 0000000..d773eb6 --- /dev/null +++ b/assets/img/Font/Font.png diff --git a/assets/img/LICENSE.md b/assets/img/LICENSE.md new file mode 100644 index 0000000..4421503 --- /dev/null +++ b/assets/img/LICENSE.md @@ -0,0 +1,5 @@ +This asset pack has been obtained from: +<https://bakudas.itch.io/generic-oldwest-pack> + +It's released under CC0 license, but it deserves some credit anyway. + diff --git a/assets/img/Mobs/Cactus/Cactus Back Sheet.png b/assets/img/Mobs/Cactus/Cactus Back Sheet.png Binary files differnew file mode 100644 index 0000000..51133a9 --- /dev/null +++ b/assets/img/Mobs/Cactus/Cactus Back Sheet.png diff --git a/assets/img/Mobs/Cactus/Cactus Front Sheet.png b/assets/img/Mobs/Cactus/Cactus Front Sheet.png Binary files differnew file mode 100644 index 0000000..0ae4018 --- /dev/null +++ b/assets/img/Mobs/Cactus/Cactus Front Sheet.png diff --git a/assets/img/Mobs/Cactus/Cactus Side Sheet.png b/assets/img/Mobs/Cactus/Cactus Side Sheet.png Binary files differnew file mode 100644 index 0000000..132a438 --- /dev/null +++ b/assets/img/Mobs/Cactus/Cactus Side Sheet.png diff --git a/assets/img/Mobs/Coffin/Coffin Back Sheet.png b/assets/img/Mobs/Coffin/Coffin Back Sheet.png Binary files differnew file mode 100644 index 0000000..beb1e0f --- /dev/null +++ b/assets/img/Mobs/Coffin/Coffin Back Sheet.png diff --git a/assets/img/Mobs/Coffin/Coffin Front Sheet.png b/assets/img/Mobs/Coffin/Coffin Front Sheet.png Binary files differnew file mode 100644 index 0000000..5bfd0ea --- /dev/null +++ b/assets/img/Mobs/Coffin/Coffin Front Sheet.png diff --git a/assets/img/Mobs/Coffin/Coffin Side Sheet.png b/assets/img/Mobs/Coffin/Coffin Side Sheet.png Binary files differnew file mode 100644 index 0000000..791c355 --- /dev/null +++ b/assets/img/Mobs/Coffin/Coffin Side Sheet.png diff --git a/assets/img/Mobs/Coyote/Coyote Back Sheet.png b/assets/img/Mobs/Coyote/Coyote Back Sheet.png Binary files differnew file mode 100644 index 0000000..ed995b0 --- /dev/null +++ b/assets/img/Mobs/Coyote/Coyote Back Sheet.png diff --git a/assets/img/Mobs/Coyote/Coyote Front Sheet.png b/assets/img/Mobs/Coyote/Coyote Front Sheet.png Binary files differnew file mode 100644 index 0000000..e7383df --- /dev/null +++ b/assets/img/Mobs/Coyote/Coyote Front Sheet.png diff --git a/assets/img/Mobs/Coyote/Coyote Side Sheet.png b/assets/img/Mobs/Coyote/Coyote Side Sheet.png Binary files differnew file mode 100644 index 0000000..ea59e13 --- /dev/null +++ b/assets/img/Mobs/Coyote/Coyote Side Sheet.png diff --git a/assets/img/NPC/NPC's.png b/assets/img/NPC/NPC's.png Binary files differnew file mode 100644 index 0000000..fcd6cce --- /dev/null +++ b/assets/img/NPC/NPC's.png diff --git a/assets/img/Player/Player Angle 1 Sheet.png b/assets/img/Player/Player Angle 1 Sheet.png Binary files differnew file mode 100644 index 0000000..a233c32 --- /dev/null +++ b/assets/img/Player/Player Angle 1 Sheet.png diff --git a/assets/img/Player/Player Angle 2 Sheet.png b/assets/img/Player/Player Angle 2 Sheet.png Binary files differnew file mode 100644 index 0000000..c561663 --- /dev/null +++ b/assets/img/Player/Player Angle 2 Sheet.png diff --git a/assets/img/Player/Player Back Sheet.png b/assets/img/Player/Player Back Sheet.png Binary files differnew file mode 100644 index 0000000..b66fff4 --- /dev/null +++ b/assets/img/Player/Player Back Sheet.png diff --git a/assets/img/Player/Player Front Sheet.png b/assets/img/Player/Player Front Sheet.png Binary files differnew file mode 100644 index 0000000..c4b3cc0 --- /dev/null +++ b/assets/img/Player/Player Front Sheet.png diff --git a/assets/img/Player/Player Side Sheet.png b/assets/img/Player/Player Side Sheet.png Binary files differnew file mode 100644 index 0000000..ba9b83b --- /dev/null +++ b/assets/img/Player/Player Side Sheet.png diff --git a/assets/img/Player/Unused Walk and Shoot.png b/assets/img/Player/Unused Walk and Shoot.png Binary files differnew file mode 100644 index 0000000..084de94 --- /dev/null +++ b/assets/img/Player/Unused Walk and Shoot.png diff --git a/src/main.cpp b/src/main.cpp index c72d597..dcedb03 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,13 +33,12 @@ class Unit: Entity{ Unit(){ - spritesheet_.loadFromFile("angle1_all.png"); + spritesheet_.loadFromFile("assets/img/Player/Player Angle 1 Sheet.png"); standing_animation = Graphics::Animation(spritesheet_, 6, 60, 44, 48, 0); walking_animation = Graphics::Animation(spritesheet_, 8, 60, 44, 48, 1); shooting_animation = Graphics::OneShotAnimation(spritesheet_, 6, 60, 44, 48, 2); complaining_animation = Graphics::OneShotAnimation(spritesheet_, 1, 60, 44, 48, 3); dying_animation = Graphics::OneShotAnimation(spritesheet_, 14, 60, 44, 48, 4); - position = sf::Vector2f{0,0}; speed = sf::Vector2f{0,0}; }; |