Multiple fixes
Obracające się meteoryty, koniec gry przy natrafieniu na meteoryt. Poprawione sprajty statku, meteorytu i pocisku
This commit is contained in:
@@ -5,6 +5,7 @@ Bullet::Bullet(float x, float y, sf::Texture &texture) {
|
||||
outOfBounds = false;
|
||||
bulletTexture = texture;
|
||||
bulletSprite.setTexture(texture);
|
||||
bulletSprite.setOrigin(bulletSprite.getLocalBounds().width/2, bulletSprite.getLocalBounds().height/2);
|
||||
bulletSprite.setPosition(x, y);
|
||||
bulletSpeed = -10.0f;
|
||||
bulletPosition.x = x;
|
||||
|
||||
Reference in New Issue
Block a user