Retocando mapas

This commit is contained in:
2022-10-23 22:55:17 +02:00
parent a57a19ca4a
commit e6b3d5ea13
8 changed files with 12 additions and 11 deletions

View File

@@ -194,7 +194,7 @@ void Credits::render()
SDL_RenderCopy(renderer, textTexture, nullptr, nullptr);
// Dibuja la textura que cubre el texto
const int offset = std::min(counter / 4, 192 / 2);
const int offset = std::min(counter / 8, 192 / 2);
SDL_Rect rect = {0, offset * 2, 256, 192};
SDL_RenderCopy(renderer, coverTexture, nullptr, &rect);