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:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user