Els items reboten al tocar el piso

This commit is contained in:
2024-11-20 21:55:55 +01:00
parent 77bf1d73b3
commit 8941072357
3 changed files with 168 additions and 160 deletions

View File

@@ -54,7 +54,7 @@ void Player::init()
shiftColliders();
vel_x_ = 0;
vel_y_ = 0;
score_ = 999999;
score_ = 0;
score_multiplier_ = 1.0f;
cooldown_ = 10;
enter_name_->init();