Updated projectiles to travel 12 tiles instead of only 10. This means, if you can hear it, you can hit it.

This commit is contained in:
Storm Dragon
2025-02-15 22:30:20 -05:00
parent a727cdfaa9
commit 5381d35222

View File

@@ -6,7 +6,7 @@ class Projectile:
self.speed = 0.2 # Projectiles move faster than player self.speed = 0.2 # Projectiles move faster than player
self.isActive = True self.isActive = True
self.damage = 5 # All projectiles do same damage for now self.damage = 5 # All projectiles do same damage for now
self.range = 10 # Maximum travel distance in tiles self.range = 12 # Maximum travel distance in tiles
self.start_x = start_x self.start_x = start_x
def update(self): def update(self):