Marcador transparente. Area de juego ocupa toda la pantalla
This commit is contained in:
@@ -265,11 +265,10 @@ void Game::renderDebugInfo()
|
||||
// Pinta mascaras
|
||||
SDL_SetRenderDrawColor(renderer, 0, 255, 0, 192);
|
||||
SDL_Rect rect = player->sprite->getRect();
|
||||
rect.y += SCOREBOARD_HEIGHT;
|
||||
SDL_RenderFillRect(renderer, &rect);
|
||||
|
||||
// Pinta el texto
|
||||
debug->setPos({1, 1 + SCOREBOARD_HEIGHT});
|
||||
debug->setPos({1, 1});
|
||||
debug->render();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user