migrat hiscore_table a delta_time de manera correcta

corregida deformació subpixel de la textura en instructions i hiscore_table
This commit is contained in:
2025-10-24 08:49:09 +02:00
parent 1acbe1d097
commit 1c3d59d678
4 changed files with 9 additions and 7 deletions
+1
View File
@@ -38,6 +38,7 @@ class HiScoreTable {
static constexpr float BACKGROUND_CHANGE_S = 150.0F / 60.0F; // Tiempo cambio fondo (≈2.5s)
static constexpr float ANIM_DURATION_S = 80.0F / 60.0F; // Duración animación (≈1.33s)
static constexpr float CLOUDS_SPEED = -6.0F; // Velocidad nubes (pixels/s)
static constexpr float SCROLL_SPEED_PPS = 60.0F; // Velocidad de scroll (60 pixels por segundo)
// --- Objetos y punteros ---
SDL_Renderer* renderer_; // El renderizador de la ventana