291 lines
8.5 KiB
Plaintext
291 lines
8.5 KiB
Plaintext
[gd_scene load_steps=24 format=3 uid="uid://bjplc6hm4ce4o"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cf8xg6bohoij0" path="res://ui/target.png" id="1_8is2x"]
|
|
[ext_resource type="Script" path="res://ui/target_reticle.gd" id="2_vb68s"]
|
|
[ext_resource type="Texture2D" uid="uid://biwtstdgbcrey" path="res://ui/raider_uii.png" id="3_cgh4y"]
|
|
[ext_resource type="Texture2D" uid="uid://6e0sno8b8kp1" path="res://ui/ammobar.png" id="4_ruqdu"]
|
|
[ext_resource type="Script" path="res://ui/weapon_progress_bar.gd" id="5_6eqwa"]
|
|
[ext_resource type="Texture2D" uid="uid://cifu5rvbmveey" path="res://ui/ammo.png" id="6_yr201"]
|
|
[ext_resource type="Texture2D" uid="uid://c2blxg2oh7wsx" path="res://ui/armorbar.png" id="7_bmin4"]
|
|
[ext_resource type="Texture2D" uid="uid://bhc78ab33sstd" path="res://ui/armor_chip.png" id="8_g0mxm"]
|
|
[ext_resource type="Texture2D" uid="uid://c5l30hicfpu7i" path="res://ui/missile_bar.png" id="8_ombef"]
|
|
[ext_resource type="Texture2D" uid="uid://33o2l11bfifq" path="res://ui/missile.png" id="9_dv7f0"]
|
|
[ext_resource type="Texture2D" uid="uid://dtnf1tacuer52" path="res://ui/raiderui v2.png" id="11_pixjs"]
|
|
[ext_resource type="Script" path="res://ui/dialogbox.gd" id="12_2f8jb"]
|
|
[ext_resource type="AudioStream" uid="uid://c706bklll356l" path="res://ui/blipSelect(4).wav" id="13_qfwy3"]
|
|
[ext_resource type="FontFile" uid="uid://cxsy0lcmx4shj" path="res://ui/Kenney Pixel.ttf" id="13_syern"]
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_pw65h"]
|
|
particle_flag_disable_z = true
|
|
angle_min = 239.5
|
|
angle_max = 239.5
|
|
spread = 10.0
|
|
initial_velocity_min = 140.15
|
|
initial_velocity_max = 172.71
|
|
angular_velocity_min = 300.0
|
|
angular_velocity_max = 310.0
|
|
gravity = Vector3(0, 100, 0)
|
|
scale_min = 0.07
|
|
scale_max = 0.09
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_rqb8c"]
|
|
font_size = 128
|
|
outline_size = 20
|
|
outline_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_imc84"]
|
|
particle_flag_disable_z = true
|
|
direction = Vector3(0, 1, 0)
|
|
spread = 5.0
|
|
initial_velocity_min = -2300.0
|
|
initial_velocity_max = -2300.0
|
|
angular_velocity_min = -180.0
|
|
angular_velocity_max = 180.0
|
|
gravity = Vector3(0, 98, 0)
|
|
scale_min = 0.08
|
|
scale_max = 0.08
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8ihp0"]
|
|
particle_flag_disable_z = true
|
|
spread = 0.0
|
|
initial_velocity_min = 2000.0
|
|
initial_velocity_max = 2000.0
|
|
gravity = Vector3(0, 98, 0)
|
|
damping_min = 105.11
|
|
damping_max = 105.11
|
|
scale_min = 0.06
|
|
scale_max = 0.06
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_q0bbp"]
|
|
font = ExtResource("13_syern")
|
|
font_size = 92
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_8y4bg"]
|
|
font = ExtResource("13_syern")
|
|
font_size = 92
|
|
|
|
[sub_resource type="Animation" id="Animation_q0r4o"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_rhbqr"]
|
|
resource_name = "new_animation"
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_o3jym"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_q0r4o"),
|
|
"new_animation": SubResource("Animation_rhbqr")
|
|
}
|
|
|
|
[node name="HUD" type="CanvasLayer"]
|
|
|
|
[node name="TargetReticle" type="TextureRect" parent="."]
|
|
modulate = Color(0.576471, 1, 0.494118, 1)
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("1_8is2x")
|
|
script = ExtResource("2_vb68s")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -127.0
|
|
offset_right = 507.0
|
|
offset_bottom = 380.0
|
|
grow_vertical = 0
|
|
scale = Vector2(0.25, 0.25)
|
|
texture = ExtResource("3_cgh4y")
|
|
|
|
[node name="MinigunProgressBar" type="TextureProgressBar" parent="TextureRect"]
|
|
z_index = -1
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
offset_left = 228.0
|
|
offset_top = 64.0
|
|
offset_right = 898.0
|
|
offset_bottom = 484.0
|
|
scale = Vector2(0.415, 0.415)
|
|
min_value = -50.0
|
|
value = 100.0
|
|
texture_progress = ExtResource("4_ruqdu")
|
|
script = ExtResource("5_6eqwa")
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="TextureRect/MinigunProgressBar"]
|
|
z_index = -2
|
|
position = Vector2(173.494, 202.409)
|
|
scale = Vector2(9.63855, 9.63855)
|
|
emitting = false
|
|
amount = 16
|
|
process_material = SubResource("ParticleProcessMaterial_pw65h")
|
|
texture = ExtResource("6_yr201")
|
|
lifetime = 2.0
|
|
speed_scale = 1.5
|
|
fixed_fps = 60
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/MinigunProgressBar"]
|
|
visible = false
|
|
z_index = 1
|
|
layout_mode = 0
|
|
offset_left = -39.0
|
|
offset_top = 96.0
|
|
offset_right = 229.0
|
|
offset_bottom = 310.0
|
|
text = "999"
|
|
label_settings = SubResource("LabelSettings_rqb8c")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ArmorProgressBar" type="TextureProgressBar" parent="TextureRect"]
|
|
z_index = -1
|
|
layout_mode = 0
|
|
offset_left = 44.0
|
|
offset_top = 16.0
|
|
offset_right = 727.0
|
|
offset_bottom = 1386.0
|
|
scale = Vector2(0.243, 0.29)
|
|
value = 100.0
|
|
fill_mode = 3
|
|
texture_progress = ExtResource("7_bmin4")
|
|
script = ExtResource("5_6eqwa")
|
|
weapon_signal_name = "armor"
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="TextureRect/ArmorProgressBar"]
|
|
position = Vector2(329.218, 1379.31)
|
|
emitting = false
|
|
amount = 24
|
|
process_material = SubResource("ParticleProcessMaterial_imc84")
|
|
texture = ExtResource("8_g0mxm")
|
|
lifetime = 3.0
|
|
speed_scale = 2.0
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/ArmorProgressBar"]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 23.0
|
|
|
|
[node name="MissileProgressBar" type="TextureProgressBar" parent="TextureRect"]
|
|
z_index = -1
|
|
layout_mode = 0
|
|
offset_left = 276.0
|
|
offset_top = 240.0
|
|
offset_right = 1257.0
|
|
offset_bottom = 1089.0
|
|
scale = Vector2(0.245, 0.245)
|
|
min_value = -25.0
|
|
value = 100.0
|
|
texture_progress = ExtResource("8_ombef")
|
|
script = ExtResource("5_6eqwa")
|
|
weapon_signal_name = "missile"
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/MissileProgressBar"]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 23.0
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="TextureRect/MissileProgressBar"]
|
|
z_index = -1
|
|
position = Vector2(97.9592, 293.878)
|
|
emitting = false
|
|
amount = 12
|
|
process_material = SubResource("ParticleProcessMaterial_8ihp0")
|
|
texture = ExtResource("9_dv7f0")
|
|
lifetime = 2.0
|
|
speed_scale = 2.0
|
|
fixed_fps = 60
|
|
|
|
[node name="Dialogbox" type="TextureRect" parent="."]
|
|
anchors_preset = -1
|
|
anchor_top = 0.283333
|
|
anchor_right = 0.292266
|
|
anchor_bottom = 0.413333
|
|
offset_left = 263.0
|
|
offset_top = 291.0
|
|
offset_right = 1135.9
|
|
offset_bottom = 582.2
|
|
grow_vertical = 2
|
|
scale = Vector2(0.3, 0.2)
|
|
texture = ExtResource("11_pixjs")
|
|
script = ExtResource("12_2f8jb")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Dialogbox"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 64
|
|
theme_override_constants/margin_top = 64
|
|
theme_override_constants/margin_right = 64
|
|
theme_override_constants/margin_bottom = 64
|
|
|
|
[node name="Label" type="Label" parent="Dialogbox/MarginContainer"]
|
|
custom_minimum_size = Vector2(200, 400)
|
|
layout_mode = 2
|
|
label_settings = SubResource("LabelSettings_q0bbp")
|
|
vertical_alignment = 1
|
|
autowrap_mode = 2
|
|
|
|
[node name="Timer" type="Timer" parent="Dialogbox"]
|
|
wait_time = 0.05
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Dialogbox"]
|
|
stream = ExtResource("13_qfwy3")
|
|
volume_db = -15.0
|
|
bus = &"SFX"
|
|
|
|
[node name="ENTERNOTE" type="Label" parent="Dialogbox"]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 936.667
|
|
offset_top = 290.002
|
|
offset_right = 1186.67
|
|
offset_bottom = 360.002
|
|
text = "ENTER ->"
|
|
label_settings = SubResource("LabelSettings_8y4bg")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Dialogbox/ENTERNOTE"]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_o3jym")
|
|
}
|
|
autoplay = "new_animation"
|
|
|
|
[connection signal="timeout" from="Dialogbox/Timer" to="Dialogbox" method="_on_timer_timeout"]
|
|
[connection signal="timeout" from="Dialogbox/Timer" to="Dialogbox/AudioStreamPlayer" method="play"]
|