Pantalla de game over completada (faltaria añadir un sonido o musica)

This commit is contained in:
2022-11-06 19:58:16 +01:00
parent 232842d876
commit 20d51a113a
3 changed files with 56 additions and 13 deletions

View File

@@ -448,11 +448,21 @@ void Director::loadResources(section_t section)
else if (section.name == SECTION_PROG_GAME_OVER)
{
// Texturas
std::vector<std::string> textureList;
textureList.push_back("smb2.png");
textureList.push_back("player_game_over.png");
textureList.push_back("tv.png");
resource->loadTextures(textureList);
// Animaciones
std::vector<std::string> animationList;
animationList.push_back("player_game_over.ani");
animationList.push_back("tv.ani");
resource->loadAnimations(animationList);
// Offsets
std::vector<std::string> offsetsList;
offsetsList.push_back("smb2.txt");