change hit hitbox size

This commit is contained in:
yuki 2025-11-15 20:14:47 -03:00
parent 593fdfac8b
commit 0ed9b1f310
2 changed files with 4 additions and 3 deletions

View file

@ -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)

View file

@ -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