Optimizados algunos png

This commit is contained in:
2022-10-05 22:37:37 +02:00
parent 02312e1342
commit 2576d62002
17 changed files with 49 additions and 33 deletions

View File

@@ -14,7 +14,7 @@ Logo::Logo(SDL_Renderer *renderer, Screen *screen, Asset *asset)
// Reserva memoria para los punteros
eventHandler = new SDL_Event();
texture = new LTexture(renderer, asset->get("logo.png"));
sprite = new Sprite(0, 0, GAME_WIDTH, GAME_HEIGHT, texture, renderer);
sprite = new Sprite(14, 75, 226, 44, texture, renderer);
// Inicializa variables
counter = 0;
@@ -104,7 +104,7 @@ void Logo::render()
screen->start();
// Limpia la pantalla
screen->clean(bgColor);
screen->clean({238, 238, 238});
// Dibuja los objetos
sprite->render();