77 lines
2.4 KiB
Text
77 lines
2.4 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://dwk5lnfnntqh2"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cxfxrcm7n85cp" path="res://hud/aim_indicator/dot.png" id="1_66ojb"]
|
|
[ext_resource type="Script" uid="uid://bm76ox7rvuita" path="res://hud/radar/threat.gd" id="2_oq6ws"]
|
|
[ext_resource type="Texture2D" uid="uid://45x7cysybp10" path="res://hud/radar/line_pattern1.png" id="3_66ojb"]
|
|
[ext_resource type="Texture2D" uid="uid://bdeu7o7ot7863" path="res://hud/radar/line_pattern2.png" id="4_k5g0t"]
|
|
[ext_resource type="Texture2D" uid="uid://dj8k7p8o7w11w" path="res://hud/radar/line_pattern3.png" id="5_q6cw4"]
|
|
[ext_resource type="Texture2D" uid="uid://dol4rha25gfdq" path="res://hud/radar/line_pattern4.png" id="6_qa0nt"]
|
|
|
|
[sub_resource type="Animation" id="Animation_3aocn"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_oq6ws"]
|
|
resource_name = "blink"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [false, true, false, true]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_3aocn"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_3aocn"),
|
|
&"blink": SubResource("Animation_oq6ws")
|
|
}
|
|
|
|
[sub_resource type="AnimatedTexture" id="AnimatedTexture_hpcgs"]
|
|
frames = 4
|
|
speed_scale = -2.0
|
|
frame_0/texture = ExtResource("3_66ojb")
|
|
frame_1/texture = ExtResource("4_k5g0t")
|
|
frame_1/duration = 1.0
|
|
frame_2/texture = ExtResource("5_q6cw4")
|
|
frame_2/duration = 1.0
|
|
frame_3/texture = ExtResource("6_qa0nt")
|
|
frame_3/duration = 1.0
|
|
|
|
[node name="threat" type="Sprite2D"]
|
|
modulate = Color(1.1, 1.1, 1.1, 1)
|
|
texture = ExtResource("1_66ojb")
|
|
script = ExtResource("2_oq6ws")
|
|
|
|
[node name="animations" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_3aocn")
|
|
}
|
|
|
|
[node name="line" type="Line2D" parent="."]
|
|
z_index = -1
|
|
z_as_relative = false
|
|
texture_repeat = 2
|
|
points = PackedVector2Array(9, 13, 0, 0)
|
|
width = 1.0
|
|
default_color = Color(1, 1, 1, 0.458824)
|
|
texture = SubResource("AnimatedTexture_hpcgs")
|
|
texture_mode = 1
|