Añadido movimiento por las habitaciones con WASD

This commit is contained in:
2022-11-07 13:59:06 +01:00
parent 81eeb1776a
commit 61b19a5699
3 changed files with 31 additions and 2 deletions

View File

@@ -588,7 +588,7 @@ void Room::fillMapTexture()
for (auto l : leftSurfaces)
{
SDL_SetRenderDrawColor(renderer, (rand() % 128) + 96, (rand() % 128) + 96, (rand() % 128) + 96, 0xFF);
SDL_SetRenderDrawColor(renderer, 0, 0, 255, 0xFF);
SDL_SetRenderDrawColor(renderer, 128, 128, 255, 0xFF);
SDL_RenderDrawLine(renderer, l.x, l.y1, l.x, l.y2);
}
}