Trabajando en las colisiones con plataformas moviles
This commit is contained in:
@@ -185,6 +185,8 @@ void Game::renderDebugInfo()
|
||||
//text = "checkCollision = " + std::to_string(checkCollision(p, r));
|
||||
debugText->write(0, line += 6, text, -1);
|
||||
|
||||
text = std::to_string(map->getActorCollider(0)) + " " + std::to_string(map->getActorCollider(1));
|
||||
debugText->write(0, line += 6, text, -1);
|
||||
// Pinta mascaras
|
||||
SDL_SetRenderDrawColor(renderer, 0, 255, 0, 128);
|
||||
SDL_Rect rect = player->sprite->getRect();
|
||||
|
||||
Reference in New Issue
Block a user