Actualizada la pantalla de carga/titulo

This commit is contained in:
2022-10-24 21:35:08 +02:00
parent 2cbe16dcba
commit 38c18ae676
9 changed files with 7 additions and 7 deletions

View File

@@ -10,8 +10,8 @@ Intro::Intro(SDL_Renderer *renderer, Screen *screen, Asset *asset)
// Reserva memoria para los punteros
eventHandler = new SDL_Event();
loadingScreenTexture1 = new Texture(renderer, asset->get("loading_screen1.png"));
loadingScreenTexture2 = new Texture(renderer, asset->get("loading_screen2.png"));
loadingScreenTexture1 = new Texture(renderer, asset->get("loading_screen_bn.png"));
loadingScreenTexture2 = new Texture(renderer, asset->get("loading_screen_color.png"));
sprite1 = new Sprite(0, 0, loadingScreenTexture1->getWidth(), loadingScreenTexture1->getHeight(), loadingScreenTexture1, renderer);
sprite2 = new Sprite(0, 0, loadingScreenTexture2->getWidth(), loadingScreenTexture2->getHeight(), loadingScreenTexture2, renderer);
loadingSound1 = JA_LoadMusic(asset->get("loading_sound1.ogg").c_str());