Añadido mas texto al debug
This commit is contained in:
@@ -142,6 +142,12 @@ void Game::renderDebugInfo()
|
|||||||
// Pinta el texto
|
// Pinta el texto
|
||||||
int line = 0;
|
int line = 0;
|
||||||
std::string text = "";
|
std::string text = "";
|
||||||
|
|
||||||
|
text = "R - Reload player and map";
|
||||||
|
debugText->write(1, 210, text, -1);
|
||||||
|
|
||||||
|
text = "D - Toggle debug mode";
|
||||||
|
debugText->write(1, 216, text, -1);
|
||||||
|
|
||||||
text = std::to_string((int)player->sprite->getPosX()) + "," + std::to_string((int)player->sprite->getPosY());
|
text = std::to_string((int)player->sprite->getPosX()) + "," + std::to_string((int)player->sprite->getPosY());
|
||||||
debugText->write(0, line, text, -1);
|
debugText->write(0, line, text, -1);
|
||||||
|
|||||||
Reference in New Issue
Block a user