diff --git a/res/ball.bmp b/res/ball.bmp deleted file mode 100644 index f0ce621..0000000 Binary files a/res/ball.bmp and /dev/null differ diff --git a/res/block.bmp b/res/block.bmp deleted file mode 100644 index e496717..0000000 Binary files a/res/block.bmp and /dev/null differ diff --git a/src/block.cpp b/src/block.cpp index 43feb13..ac5a8b5 100644 --- a/src/block.cpp +++ b/src/block.cpp @@ -16,7 +16,7 @@ void Block::draw(sf::RenderWindow& window, ResourceManager& resources) { Object::draw(window, resources); // utilisation de la texture - sprite.setTexture(resources.getTexture("block.bmp")); + sprite.setTexture(resources.getTexture("block.png")); // coloration du bloc en fonction de sa charge if (getCharge() > 0) { diff --git a/src/player.cpp b/src/player.cpp index fed40f9..92352b9 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -40,7 +40,7 @@ void Player::draw(sf::RenderWindow& window, ResourceManager& resources) { Object::draw(window, resources); // utilisation de la texture - sprite.setTexture(resources.getTexture("ball.bmp")); + sprite.setTexture(resources.getTexture("ball.png")); // déplacement du sprite à la position de la balle sprite.rotate(getVelocity().x * .1f);