Antes de pasar el juego a tiles de 8x8

This commit is contained in:
JailDesigner committed 2022-08-18 20:41:53 +02:00
1 parent 4de34c388d
commit c848a8b234
3 files changed
+9 -8

No files matched your search

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