|
@@ -72,7 +72,6 @@ void IngameState::init()
|
|
|
|
|
|
_player.setContext(_context);
|
|
_player.setContext(_context);
|
|
_player.setPosition(_foreground.getPlayerPosition() + sf::Vector2f(_player.getTexture()->getSize() / 2u));
|
|
_player.setPosition(_foreground.getPlayerPosition() + sf::Vector2f(_player.getTexture()->getSize() / 2u));
|
|
- Echo::error(_player.getOrigin().x, ' ', _player.getOrigin().y);
|
|
|
|
|
|
|
|
_background.setTextureRect(sf::IntRect(0, 0, _foreground.getSize().x, _foreground.getSize().y));
|
|
_background.setTextureRect(sf::IntRect(0, 0, _foreground.getSize().x, _foreground.getSize().y));
|
|
_noshaders.setTextureRect(sf::IntRect(0, 0, _foreground.getSize().x, _foreground.getSize().y));
|
|
_noshaders.setTextureRect(sf::IntRect(0, 0, _foreground.getSize().x, _foreground.getSize().y));
|