Arreglado el problema con las plataormas verticales. Se iba un pixel
This commit is contained in:
@@ -300,7 +300,7 @@ void Player::move()
|
||||
// Dejarlo alineado con la plataforma
|
||||
state = standing;
|
||||
vy = 0.0f;
|
||||
y = -h + map->getActorCollider(hookedOnMovingPlatform).y;
|
||||
y = map->getActorCollider(hookedOnMovingPlatform).y - h;
|
||||
x += map->getActorIncX(hookedOnMovingPlatform);
|
||||
isOnMovingPlatform();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user