forked from jaildesigner-jailgames/jaildoctors_dilemma
Pantalla de game over completada (faltaria añadir un sonido o musica)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user