suppression des textures .bmp

This commit is contained in:
Rémi Cérès 2016-03-25 21:31:43 +01:00
parent a8aa8a4ee2
commit 6fc705c2d9
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -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) {

View File

@ -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);