mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 21:01:48 +01:00
Started on GuiIcon, General fixes
This commit is contained in:
@@ -57,7 +57,7 @@ void Player::Draw() const {
|
||||
|
||||
const int frameWidth = 70; //TODO: fix this
|
||||
int halfFrameWidth = frameWidth / 2;
|
||||
float bobOffset = m_BobUp ? 1 : 0;
|
||||
int bobOffset = m_BobUp ? 1 : 0;
|
||||
|
||||
float rotateOffset = std::abs(m_Vel.x) / 40;
|
||||
Vector2f drawPos = Vector2f { center.x, center.y + 9 + bobOffset };
|
||||
|
||||
Reference in New Issue
Block a user