diff --git a/data/map/01.tmx b/data/map/01.tmx index 5c3c362..1dee63d 100644 --- a/data/map/01.tmx +++ b/data/map/01.tmx @@ -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,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,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,0, -65,65,0,0,65,65,0,0,0,0,0,0,0,0,0,68,0,0,0,0, -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 +0,68,68,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,31,0,0,0,0,0,49,0,0,0,0,0,0, +0,49,0,0,0,0,0,47,0,0,0,0,68,68,68,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 diff --git a/media/gfx/tiles_surface.png b/media/gfx/tiles_surface.png index fd9492a..a7ac088 100644 Binary files a/media/gfx/tiles_surface.png and b/media/gfx/tiles_surface.png differ diff --git a/source/player.cpp b/source/player.cpp index 84c2744..4cb7f40 100644 --- a/source/player.cpp +++ b/source/player.cpp @@ -130,6 +130,7 @@ void Player::addGravity() if (!isOnFloor()) { vy = std::min(vy += gravity, maxVY); + jumping = true; } }