revisant la seccio game: bales, items e inici
This commit is contained in:
@@ -45,10 +45,10 @@ class Bullet {
|
||||
|
||||
private:
|
||||
// --- Constantes ---
|
||||
static constexpr float VEL_Y = -0.18F; // Velocidad vertical (pixels/ms)
|
||||
static constexpr float VEL_X_LEFT = -0.12F; // Velocidad izquierda (pixels/ms)
|
||||
static constexpr float VEL_X_RIGHT = 0.12F; // Velocidad derecha (pixels/ms)
|
||||
static constexpr float VEL_X_CENTER = 0.0F; // Velocidad central
|
||||
static constexpr float VEL_Y = -180.0F; // Velocidad vertical (pixels/segundo) - era -0.18F pixels/ms
|
||||
static constexpr float VEL_X_LEFT = -120.0F; // Velocidad izquierda (pixels/segundo) - era -0.12F pixels/ms
|
||||
static constexpr float VEL_X_RIGHT = 120.0F; // Velocidad derecha (pixels/segundo) - era 0.12F pixels/ms
|
||||
static constexpr float VEL_X_CENTER = 0.0F; // Velocidad central
|
||||
|
||||
// --- Objetos y punteros ---
|
||||
std::unique_ptr<AnimatedSprite> sprite_; // Sprite con los gráficos
|
||||
|
||||
Reference in New Issue
Block a user