mirror of
https://github.com/kodzukye/omens-ascent.git
synced 2026-08-10 13:23:10 +00:00
68 lines
2.5 KiB
Plaintext
68 lines
2.5 KiB
Plaintext
[gd_scene format=3 uid="uid://3pgc7hhn7dxy"]
|
|
|
|
[ext_resource type="Script" uid="uid://ev7uglfcbl02" path="res://scenes/components/health_component.gd" id="1_fbthg"]
|
|
[ext_resource type="Script" uid="uid://cxsbkcxpnu3t6" path="res://scenes/components/hurt_box.gd" id="2_hqeu6"]
|
|
[ext_resource type="Script" uid="uid://dw1cot7pm0rp6" path="res://scenes/components/hit_box.gd" id="3_5g2xq"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_f8v3l"]
|
|
radius = 5.0
|
|
height = 16.0
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_di6cc"]
|
|
size = Vector2(178.875, 27)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_33lk7"]
|
|
size = Vector2(17, 6)
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" unique_id=1564137690]
|
|
collision_layer = 8
|
|
|
|
[node name="HealthComponent" type="Node" parent="." unique_id=334972245]
|
|
script = ExtResource("1_fbthg")
|
|
metadata/_custom_type_script = "uid://ev7uglfcbl02"
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1649019130]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1412521514]
|
|
|
|
[node name="HurtBox" type="Area2D" parent="." unique_id=77974344]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("2_hqeu6")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HurtBox" unique_id=496690144]
|
|
position = Vector2(1, -8)
|
|
shape = SubResource("CapsuleShape2D_f8v3l")
|
|
debug_color = Color(1, 0, 0, 0.41960785)
|
|
|
|
[node name="DetectionArea" type="Area2D" parent="." unique_id=613463268]
|
|
collision_layer = 0
|
|
collision_mask = 16
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea" unique_id=1471701880]
|
|
position = Vector2(1, -14)
|
|
shape = SubResource("RectangleShape2D_di6cc")
|
|
debug_color = Color(0.77266294, 0.44344115, 3.85046e-07, 0.41960785)
|
|
|
|
[node name="HitBox" type="Area2D" parent="." unique_id=1953441663]
|
|
collision_layer = 2
|
|
collision_mask = 4
|
|
script = ExtResource("3_5g2xq")
|
|
damage = 1
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBox" unique_id=2093629540]
|
|
position = Vector2(-14.5, -14)
|
|
shape = SubResource("RectangleShape2D_33lk7")
|
|
|
|
[node name="AttackRangeArea" type="Area2D" parent="." unique_id=1251225542]
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackRangeArea" unique_id=1335782575]
|
|
position = Vector2(-14.5, -14)
|
|
shape = SubResource("RectangleShape2D_33lk7")
|
|
debug_color = Color(0.9622, 0.6, 0.1, 0.41960785)
|
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="." unique_id=1363425348]
|
|
target_position = Vector2(0, 15)
|