texture.loadFromFile("assets/ysex.png");
sprite.setTexture(texture);
- sprite.setScale(S_SCALE_KOEFF, S_SCALE_KOEFF);
+ sprite.setScale(1, 1);
sf::FloatRect gb {sprite.getGlobalBounds()};
sprite.setOrigin(gb.width / 2, gb.height / 2);
position = {1000, 50};
texture.loadFromFile("assets/4V_figur.png");
sprite.setTexture(texture);
- sprite.setScale(S_SCALE_KOEFF, S_SCALE_KOEFF);
+ sprite.setScale(1, 1);
sf::FloatRect gb {sprite.getGlobalBounds()};
sprite.setOrigin(gb.width / 2, gb.height / 2);
sprite.setPosition(position);