fix: hack per a poder entrar en huecos de dos tiles d'altura al saltar

fix: calcul incorrecte del offset dels tiles que maten
This commit is contained in:
2026-03-08 14:46:00 +01:00
parent f2e45940d5
commit 9ebf259525
3 changed files with 13 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ namespace Game {
namespace Room {
#ifdef _DEBUG
constexpr const char* INITIAL = "51.yaml"; // Habitación de inicio en debug
constexpr const char* INITIAL = "03.yaml"; // Habitación de inicio en debug
#else
constexpr const char* INITIAL = "03.yaml"; // Habitación de inicio en release
#endif
@@ -108,8 +108,8 @@ namespace Room {
namespace Player {
#ifdef _DEBUG
constexpr int SPAWN_X = 28 * Tile::SIZE; // Posición X inicial en debug
constexpr int SPAWN_Y = 10 * Tile::SIZE; // Posición Y inicial en debug
constexpr int SPAWN_X = 26 * Tile::SIZE; // Posición X inicial en debug
constexpr int SPAWN_Y = 13 * Tile::SIZE; // Posición Y inicial en debug
constexpr SDL_FlipMode SPAWN_FLIP = Flip::LEFT; // Orientación inicial en debug
#else
constexpr int SPAWN_X = 25 * Tile::SIZE; // Posición X inicial en release