From 0ed9b1f310bff3e6da3c91695b841cdc291ccf0f Mon Sep 17 00:00:00 2001 From: yuki Date: Sat, 15 Nov 2025 20:14:47 -0300 Subject: [PATCH] change hit hitbox size --- scenes/hit/hit.tscn | 6 +++--- scenes/main.tscn | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scenes/hit/hit.tscn b/scenes/hit/hit.tscn index cfbd42b..6732bc9 100644 --- a/scenes/hit/hit.tscn +++ b/scenes/hit/hit.tscn @@ -3,8 +3,8 @@ [ext_resource type="Texture2D" uid="uid://c6a62gvw7218s" path="res://scenes/hit/hit.png" id="1_wjo4f"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_fxeki"] -radius = 7.0 -height = 18.0 +radius = 11.0 +height = 24.0 [node name="Hit" type="Area2D" groups=["hit"]] collision_layer = 64 @@ -15,7 +15,7 @@ position = Vector2(7, -4) texture = ExtResource("1_wjo4f") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2(5, -1) +position = Vector2(4, 1) rotation = 1.5707964 shape = SubResource("CapsuleShape2D_fxeki") debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785) diff --git a/scenes/main.tscn b/scenes/main.tscn index faaa0c3..b0d486b 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -27,6 +27,7 @@ id = 2 [node name="Ball" parent="." instance=ExtResource("3_r0du0")] position = Vector2(162, 115) +launch_speed = Vector2(150, 300) [node name="LevelCamera2D" parent="." instance=ExtResource("4_jyhfs")] ball_weight = 0.4