28 lines
900 B
Text
28 lines
900 B
Text
[gd_scene load_steps=4 format=3 uid="uid://px67runjx6ex"]
|
|
|
|
[ext_resource type="Script" uid="uid://c0m6xhbtgbgtu" path="res://scenes/hit/hit.gd" id="1_fxeki"]
|
|
[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
|
|
|
|
[node name="Hit" type="Area2D" groups=["hit"]]
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
script = ExtResource("1_fxeki")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(7, -4)
|
|
texture = ExtResource("1_wjo4f")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(5, -1)
|
|
rotation = 1.5707964
|
|
shape = SubResource("CapsuleShape2D_fxeki")
|
|
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.5
|
|
one_shot = true
|
|
autostart = true
|