Modificado el ritmo de las numbes i el cambio de color del cielo

This commit is contained in:
2022-10-08 00:14:14 +02:00
parent 9784b5517a
commit f880bb7d74
7 changed files with 27 additions and 7 deletions

View File

@@ -235,7 +235,8 @@ void Player::setAnimation()
aHeadCoffees = "_1C";
}
const std::string aPowerUp = powerUp ? "_pwr" : "";
//const std::string aPowerUp = powerUp ? "_pwr" : "";
const std::string aPowerUp = "";
const std::string aWalking = statusWalking == PLAYER_STATUS_WALKING_STOP ? "stand" : "walk";
const std::string aFiring = statusFiring == PLAYER_STATUS_FIRING_UP ? "centershoot" : "sideshoot";
@@ -605,10 +606,12 @@ void Player::updatePowerUpHeadOffset()
if (powerUpCounter % 10 > 4)
{
// powerUpHeadOffset = 96;
fireSprite->setEnabled(false);
}
else
{
// powerUpHeadOffset = 0;
fireSprite->setEnabled(true);
}
}
}