From 96f15c4c1e31d46a33747cb9259efa95ad2143fb Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Mon, 13 May 2024 17:35:11 -0400 Subject: [PATCH] Adjusted scale and shot timer --- scenes/ship.tscn | 3 ++- scripts/ship.gd | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scenes/ship.tscn b/scenes/ship.tscn index 7886491..8dfc4e9 100644 --- a/scenes/ship.tscn +++ b/scenes/ship.tscn @@ -56,6 +56,7 @@ _data = { } [node name="Ship" type="CharacterBody2D" groups=["ship"]] +scale = Vector2(0.25, 0.25) collision_mask = 2 script = ExtResource("1_japvq") @@ -74,7 +75,7 @@ position = Vector2(0, -1) polygon = PackedVector2Array(-3, -31, 4, -31, 32, 28, 32, 33, 28, 33, 1, 16, -24, 33, -32, 33, -32, 27) [node name="ShotCooldown" type="Timer" parent="."] -wait_time = 0.75 +wait_time = 0.5 one_shot = true [node name="Gun" type="Marker2D" parent="."] diff --git a/scripts/ship.gd b/scripts/ship.gd index 638b32e..d3182ec 100644 --- a/scripts/ship.gd +++ b/scripts/ship.gd @@ -2,7 +2,6 @@ extends CharacterBody2D # TODO: Add the ability to "warp" # FIXME: Tweak speed and shoot time values -# FIXME: Tweak Ship's scale signal crashed