Antes de pasar el juego a tiles de 8x8

This commit is contained in:
2022-08-18 20:41:53 +02:00
parent 4de34c388d
commit c848a8b234
3 changed files with 9 additions and 8 deletions

View File

@@ -130,6 +130,7 @@ void Player::addGravity()
if (!isOnFloor())
{
vy = std::min(vy += gravity, maxVY);
jumping = true;
}
}