Añadidos colores para el jugador segun los trucos. Añadida skin alternativa para el jugador

This commit is contained in:
2022-11-12 07:28:08 +01:00
parent 1df1bc463c
commit 763126580f
4 changed files with 21 additions and 2 deletions

View File

@@ -19,6 +19,14 @@ Player::Player(player_t player)
// Inicializa variables
color = stringToColor(options->palette, "white");
if (options->cheat.infiniteLives)
{
color = stringToColor(options->palette, "yellow");
}
if (options->cheat.invincible)
{
color = stringToColor(options->palette, "cyan");
}
onBorder = false;
border = BORDER_TOP;
autoMovement = false;