diff --git a/components/Weapons/Tree.tscn b/components/Weapons/Tree.tscn index 5e23dd7..9deb604 100644 --- a/components/Weapons/Tree.tscn +++ b/components/Weapons/Tree.tscn @@ -5,4 +5,4 @@ [node name="Tree" instance=ExtResource("1_0lbwr")] script = ExtResource("2_jsuc8") -cooldown = 500.0 +cooldown = 200.0 diff --git a/scripts/Statemachine/CycleTimer.gd b/scripts/Statemachine/CycleTimer.gd index 8c7c042..ff5eb0e 100644 --- a/scripts/Statemachine/CycleTimer.gd +++ b/scripts/Statemachine/CycleTimer.gd @@ -18,6 +18,9 @@ func apply(): bullets = bullets.filter(is_instance_valid) for index in len(bullets): var bullet = bullets[index] - bullet.position = bullet.launcher.position + Vector2.from_angle(periodPercent(index)) * distance + var offset = Vector2.from_angle(periodPercent(index)) + offset.y *= 0.5 + bullet.position = bullet.launcher.position + offset * distance + bullet.scale = Vector2.ONE * (1 + offset.y) func host(bullet: BulletBase): bullets.append(bullet)