Fine tuning

This commit is contained in:
2025-09-12 23:05:23 +02:00
parent 25287c57fc
commit 0a2143d4c8
18 changed files with 49 additions and 60 deletions

View File

@ -5,11 +5,11 @@
[ext_resource type="Texture2D" uid="uid://l58s5yxh4f8n" path="res://Assets/Traps/Sticks/Tile2_60.png" id="2_metvu"]
[ext_resource type="AudioStream" uid="uid://b00qix6a3do53" path="res://Assets/Sounds/stick trap impact.mp3" id="4_m1bdk"]
[sub_resource type="CircleShape2D" id="CircleShape2D_m1bdk"]
radius = 32.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_m1bdk"]
size = Vector2(62.5, 35)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_metvu"]
size = Vector2(49.5, 18)
size = Vector2(49.5, 27)
[node name="StickTrap" type="Node2D"]
script = ExtResource("1_metvu")
@ -29,14 +29,14 @@ texture = ExtResource("2_metvu")
offset = Vector2(-10, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
position = Vector2(5, 0)
position = Vector2(4, 2)
scale = Vector2(0.8, 0.8)
shape = SubResource("CircleShape2D_m1bdk")
shape = SubResource("RectangleShape2D_m1bdk")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(4.25, 11)
position = Vector2(4.25, 2.5)
shape = SubResource("RectangleShape2D_metvu")
debug_color = Color(0.811824, 0.00210331, 0.983083, 0.42)