This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Assets/HUD/HUD.tscn

465 lines
12 KiB
Plaintext

[gd_scene load_steps=25 format=3 uid="uid://bs80rhfpgh2m2"]
[ext_resource type="Texture2D" uid="uid://dlw3sb5tygqf4" path="res://Assets/HUD/Vignette.png" id="1"]
[ext_resource type="Script" path="res://Assets/HUD/HUD.gd" id="1_wc430"]
[ext_resource type="Shader" uid="uid://bet2pthddt01v" path="res://Assets/HUD/HUD.tres" id="2_djyym"]
[ext_resource type="Texture2D" uid="uid://dim1jrwuiy4qt" path="res://Assets/HUD/Crosshair Baseline.png" id="3_r05jh"]
[ext_resource type="Material" uid="uid://dkf0bpi007o2q" path="res://Assets/HUD/Readability.material" id="4_75f0r"]
[ext_resource type="Texture2D" uid="uid://d0p7vfc62t5sb" path="res://Assets/HUD/Crosshair Hit.png" id="4_guqkl"]
[ext_resource type="AudioStream" uid="uid://dfcyohpsqvri1" path="res://Assets/SFX/HUD_Confirm_Hit.wav" id="4_llqcq"]
[ext_resource type="Script" path="res://Assets/HUD/Crosshair.gd" id="5"]
[ext_resource type="Texture2D" uid="uid://cjo2bjogp16ax" path="res://Assets/HUD/Crosshair Kill.png" id="5_4mbbg"]
[ext_resource type="AudioStream" uid="uid://bllgajqussdi5" path="res://Assets/SFX/HUD_Confirm_Kill.wav" id="5_hh74r"]
[ext_resource type="Script" path="res://Assets/HUD/Chat.gd" id="6"]
[ext_resource type="Theme" uid="uid://ddtu7o1dbp0s8" path="res://Assets/HUD/Theme.tres" id="7"]
[ext_resource type="Texture2D" uid="uid://dsd5k6q1nayd8" path="res://Assets/HUD/BarUnder.png" id="9_q07oy"]
[ext_resource type="AudioStream" uid="uid://d36o2duyrij57" path="res://Assets/SFX/UI_Message.wav" id="9_ubwxw"]
[ext_resource type="Texture2D" uid="uid://csoue1u7vfgqq" path="res://Assets/HUD/BarOver.png" id="10_5i332"]
[ext_resource type="Texture2D" uid="uid://w4j1crvoxo5y" path="res://Assets/HUD/BarProgress.png" id="11_tlgqu"]
[ext_resource type="Script" path="res://Assets/HUD/Performance.gd" id="17_getmp"]
[ext_resource type="Texture2D" uid="uid://nvmxqamvgmwl" path="res://Assets/HUD/MuteIcon.png" id="18_gshf6"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dxk5q"]
resource_local_to_scene = true
shader = ExtResource( "2_djyym" )
shader_param/Damage = 0.0
shader_param/Depth = 0.33
[sub_resource type="Animation" id="1"]
resource_name = "Default"
length = 0.1
[sub_resource type="Animation" id="2"]
length = 0.2
step = 0.05
tracks/0/type = "audio"
tracks/0/imported = false
tracks/0/enabled = false
tracks/0/path = NodePath("ConfirmSound")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"clips": [{
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource( "4_llqcq" )
}],
"times": PackedFloat32Array(0)
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Hit:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(2, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="3"]
length = 0.5
step = 0.05
tracks/0/type = "audio"
tracks/0/imported = false
tracks/0/enabled = false
tracks/0/path = NodePath("ConfirmSound")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"clips": [{
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource( "5_hh74r" )
}],
"times": PackedFloat32Array(0)
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Kill:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(2, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_j1um2"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Hit: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, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Kill:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_j0kta"]
[node name="HUD" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( "1_wc430" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PostProcessing" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LensFlare" type="ColorRect" parent="PostProcessing"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Damage" type="ColorRect" parent="PostProcessing"]
material = SubResource( "ShaderMaterial_dxk5q" )
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Crosshair" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
script = ExtResource( "5" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Baseline" type="TextureRect" parent="Crosshair"]
texture_filter = 1
texture_repeat = 1
material = ExtResource( "4_75f0r" )
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -16.0
offset_top = -16.0
offset_right = 16.0
offset_bottom = 16.0
texture = ExtResource( "3_r05jh" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Hit" type="TextureRect" parent="Crosshair"]
modulate = Color(1, 1, 1, 0)
texture_filter = 1
texture_repeat = 1
material = ExtResource( "4_75f0r" )
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -16.0
offset_top = -16.0
offset_right = 16.0
offset_bottom = 16.0
texture = ExtResource( "4_guqkl" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Kill" type="TextureRect" parent="Crosshair"]
modulate = Color(1, 1, 1, 0)
texture_filter = 1
texture_repeat = 1
material = ExtResource( "4_75f0r" )
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -16.0
offset_top = -16.0
offset_right = 16.0
offset_bottom = 16.0
texture = ExtResource( "5_4mbbg" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="Crosshair"]
autoplay = "Default"
anims/Default = SubResource( "1" )
anims/Hit = SubResource( "2" )
anims/Kill = SubResource( "3" )
anims/RESET = SubResource( "Animation_j1um2" )
[node name="ConfirmSound" type="AudioStreamPlayer" parent="Crosshair"]
stream = ExtResource( "4_llqcq" )
volume_db = 6.0
[node name="ConfirmSound2" type="AudioStreamPlayer" parent="Crosshair"]
stream = ExtResource( "5_hh74r" )
volume_db = 6.0
[node name="Vignette" type="TextureRect" parent="."]
modulate = Color(1, 1, 1, 0)
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( "1" )
expand = true
stretch_mode = 7
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Chat" type="Control" parent="."]
offset_left = 24.0
offset_top = 24.0
offset_right = 324.0
offset_bottom = 474.0
script = ExtResource( "6" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="Chat"]
offset_right = 300.0
offset_bottom = 507.0
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ChatHistory" type="RichTextLabel" parent="Chat/VBoxContainer"]
offset_top = 37.0
offset_right = 300.0
offset_bottom = 507.0
rect_min_size = Vector2(0, 470)
theme = ExtResource( "7" )
theme_override_font_sizes/normal_font_size = 16
bbcode_enabled = true
scroll_active = false
scroll_following = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Typing" type="HBoxContainer" parent="Chat/VBoxContainer"]
visible = false
offset_top = 474.0
offset_right = 309.0
offset_bottom = 507.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Chat/VBoxContainer/Typing"]
offset_top = 3.0
offset_right = 55.0
offset_bottom = 29.0
rect_min_size = Vector2(55, 0)
text = "say: "
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Editor" type="LineEdit" parent="Chat/VBoxContainer/Typing"]
offset_left = 59.0
offset_right = 309.0
offset_bottom = 33.0
rect_min_size = Vector2(250, 0)
max_length = 80
expand_to_text_length = true
context_menu_enabled = false
virtual_keyboard_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
placeholder_text = "ENTER to send, ESC to cancel"
placeholder_alpha = 0.5
caret_blink = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Message" type="AudioStreamPlayer" parent="Chat"]
stream = ExtResource( "9_ubwxw" )
[node name="RespawnCountdown" type="Label" parent="."]
visible = false
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -220.0
offset_top = -221.0
offset_right = 220.0
theme_override_font_sizes/font_size = 32
text = "RESPAWNING IN 5.0 seconds"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScoreRank" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -116.0
offset_top = -27.0
offset_bottom = 27.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScoreTable" type="Panel" parent="."]
visible = false
self_modulate = Color(1, 1, 1, 0.85)
material = SubResource( "CanvasItemMaterial_j0kta" )
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -309.5
offset_top = -157.5
offset_right = 309.5
offset_bottom = 157.5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="ScoreTable"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Header" type="Label" parent="ScoreTable/VBoxContainer"]
offset_right = 619.0
offset_bottom = 26.0
size_flags_horizontal = 3
size_flags_vertical = 5
text = "LE SCORE TABLE"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScoreTab" type="RichTextLabel" parent="ScoreTable/VBoxContainer"]
offset_top = 30.0
offset_right = 619.0
offset_bottom = 315.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "scoretab"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Stats" type="VBoxContainer" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -200.0
offset_top = -68.0
offset_right = -32.0
offset_bottom = -32.0
grow_horizontal = 0
grow_vertical = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HealthBar" type="TextureProgressBar" parent="Stats"]
offset_right = 200.0
offset_bottom = 32.0
rect_min_size = Vector2(200, 32)
value = 100.0
allow_greater = true
allow_lesser = true
texture_under = ExtResource( "9_q07oy" )
texture_over = ExtResource( "10_5i332" )
texture_progress = ExtResource( "11_tlgqu" )
tint_under = Color(0, 0, 0, 0.12549)
tint_over = Color(0, 0.780392, 1, 1)
tint_progress = Color(0, 0.745098, 1, 1)
nine_patch_stretch = true
stretch_margin_left = 16
stretch_margin_top = 16
stretch_margin_right = 16
stretch_margin_bottom = 16
[node name="JetpackBar" type="TextureProgressBar" parent="Stats"]
offset_top = 36.0
offset_right = 200.0
offset_bottom = 68.0
rect_min_size = Vector2(200, 32)
value = 100.0
texture_under = ExtResource( "9_q07oy" )
texture_over = ExtResource( "10_5i332" )
texture_progress = ExtResource( "11_tlgqu" )
tint_under = Color(0, 0, 0, 0.12549)
tint_over = Color(1, 0.764706, 0, 1)
tint_progress = Color(1, 0.760784, 0, 1)
nine_patch_stretch = true
stretch_margin_left = 16
stretch_margin_top = 16
stretch_margin_right = 16
stretch_margin_bottom = 16
[node name="Performance" type="Label" parent="."]
material = ExtResource( "4_75f0r" )
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 4.0
offset_top = -106.0
offset_right = 202.0
offset_bottom = -2.0
text = "FPS:
PING:"
script = ExtResource( "17_getmp" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MuteIcon" type="TextureRect" parent="."]
visible = false
anchor_left = 1.0
anchor_right = 1.0
offset_left = -80.0
offset_top = 16.0
offset_right = -16.0
offset_bottom = 80.0
texture = ExtResource( "18_gshf6" )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="text_submitted" from="Chat/VBoxContainer/Typing/Editor" to="Chat" method="_on_Editor_text_submitted"]