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

@@ -7,15 +7,15 @@
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,68,68,0,0,0,0,0,65,65,0,0,0,0,0,0,0,
0,68,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,49,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,68,68,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,65,65,0,0,0,68,0,0,0,0,68,68,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,31,0,0,0,0,0,49,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,65,65,0,0,0,0, 0,49,0,0,0,0,0,47,0,0,0,0,68,68,68,68,0,0,0,0,
65,65,0,0,65,65,0,0,0,0,0,0,0,0,0,68,0,0,0,0, 68,68,68,68,68,68,68,68,68,68,68,68,68,69,78,68,68,68,68,68
0,0,0,0,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,
0,49,0,0,0,0,0,47,0,0,0,0,0,77,74,76,0,0,0,0,
74,74,74,75,75,74,74,68,68,65,68,68,74,74,78,74,68,74,68,68
</data> </data>
</layer> </layer>
</map> </map>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

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