mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 15:53:42 +00:00
Added 2 new sprites
added wizard and mlady sprite
This commit is contained in:
parent
93b7262db7
commit
c146160660
BIN
assets/chicken_mlady_spritesheet.png
Normal file
BIN
assets/chicken_mlady_spritesheet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
assets/chicken_neutral_mlady.png
Normal file
BIN
assets/chicken_neutral_mlady.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 836 B |
BIN
assets/chicken_neutral_wizard.png
Normal file
BIN
assets/chicken_neutral_wizard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 847 B |
BIN
assets/chicken_wizard_spritesheet.png
Normal file
BIN
assets/chicken_wizard_spritesheet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@ -138,8 +138,8 @@ void Game::selectCharacters(const char* &playerSprite, const char* &enemySprite)
|
|||||||
std::map<int, std::pair<const char*, const char*>> characterSprites;
|
std::map<int, std::pair<const char*, const char*>> characterSprites;
|
||||||
characterSprites[0] = std::make_pair("assets/chicken_neutral_knight.png", "assets/chicken_knight_spritesheet.png");
|
characterSprites[0] = std::make_pair("assets/chicken_neutral_knight.png", "assets/chicken_knight_spritesheet.png");
|
||||||
characterSprites[1] = std::make_pair("assets/chicken_neutral.png", "assets/chicken_spritesheet.png");
|
characterSprites[1] = std::make_pair("assets/chicken_neutral.png", "assets/chicken_spritesheet.png");
|
||||||
characterSprites[2] = std::make_pair("assets/chicken_neutral.png", "assets/chicken_spritesheet.png");
|
characterSprites[2] = std::make_pair("assets/chicken_neutral_wizard.png", "assets/chicken_wizard_spritesheet.png");
|
||||||
characterSprites[3] = std::make_pair("assets/chicken_neutral_knight.png", "assets/chicken_knight_spritesheet.png");
|
characterSprites[3] = std::make_pair("assets/chicken_neutral_mlady.png", "assets/chicken_mlady_spritesheet.png");
|
||||||
|
|
||||||
SDL_Rect playerCharacterRects[CHARACTER_COUNT];
|
SDL_Rect playerCharacterRects[CHARACTER_COUNT];
|
||||||
SDL_Rect enemyCharacterRects[CHARACTER_COUNT];
|
SDL_Rect enemyCharacterRects[CHARACTER_COUNT];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user