Afegida nova tipografia 04b_25

Eliminades tipografies que no s'utilitzaven
La classe Text ara pot tornar una textura amb el text
This commit is contained in:
2024-10-29 15:22:19 +01:00
parent 59e2865a4a
commit e2abf835f9
15 changed files with 157 additions and 540 deletions

View File

@@ -139,9 +139,7 @@ Intro::Intro()
texts_[8]->setSpeed(16);
for (auto &text : texts_)
{
text->center(param.game.game_area.center_x);
}
}
// Recarga todas las texturas
@@ -171,9 +169,7 @@ void Intro::checkEvents()
case SDL_WINDOWEVENT:
{
if (event.window.event == SDL_WINDOWEVENT_SIZE_CHANGED)
{
reloadTextures();
}
break;
}