diff --git a/data/gfx/bullet.png b/data/gfx/bullet.png index 1fa89e9..35d006d 100644 Binary files a/data/gfx/bullet.png and b/data/gfx/bullet.png differ diff --git a/source/bullet.cpp b/source/bullet.cpp index 1a3de1a..debb67b 100644 --- a/source/bullet.cpp +++ b/source/bullet.cpp @@ -4,16 +4,18 @@ // Constructor Bullet::Bullet(int x, int y, int kind, bool poweredUp, int owner, Texture *texture) { - sprite = new Sprite({x, y, 10, 10}, texture); // Posición inicial del objeto posX = x; posY = y; // Alto y ancho del objeto - width = 10; - height = 10; + width = 12; + height = 12; + // Crea el sprite + sprite = new Sprite({x, y, width, height}, texture); + // Velocidad inicial en el eje Y velY = -3;