Arreglos de disseny en Credits

El shaders ja respeten els SDL_RenderSetLogicalSize en pantalla completa, pero no el SDL_RenderSetIntegerScale
This commit is contained in:
2025-03-16 08:50:35 +01:00
parent b5dbb694f3
commit dc7b3bf7e0
8 changed files with 154 additions and 58 deletions

View File

@@ -313,7 +313,7 @@ void Intro::initSprites()
const int X_DEST = param.game.game_area.center_x - SPRITE_WIDTH / 2;
const int Y_DEST = param.game.game_area.first_quarter_y - (SPRITE_HEIGHT / 4);
// Inicializa los sprites de la intro
// Inicializa los sprites con las imagenes
constexpr int TOTAL_SPRITES = 6;
for (int i = 0; i < TOTAL_SPRITES; ++i)
{
@@ -339,7 +339,7 @@ void Intro::initSprites()
const int S_X_DEST = X_DEST - BORDER / 2;
const int S_Y_DEST = Y_DEST - BORDER / 2;
// Crea las texturas para las sombras
// Crea las texturas para las imágenes traseras
std::vector<std::shared_ptr<Texture>> shadow_textures;
for (int i = 0; i < TOTAL_SPRITES; ++i)