project_teddy/scenes/HUD.tscn

506 lines
13 KiB
Text

[gd_scene load_steps=12 format=3 uid="uid://ytbacsuahxie"]
[ext_resource type="Script" path="res://scripts/HUD.gd" id="1_mqiiw"]
[ext_resource type="Texture2D" uid="uid://tjvdle3jlb6g" path="res://textures/crosshair1.png" id="2_5dvrx"]
[ext_resource type="FontFile" uid="uid://dvvqq2hluaa3o" path="res://fonts/League.otf" id="3_x1wqt"]
[ext_resource type="Texture2D" uid="uid://bhe2kvpsn0yci" path="res://2DArt/tutorial/music.webp" id="4_8egld"]
[ext_resource type="Texture2D" uid="uid://8di4e215lc26" path="res://2DArt/tutorial/WASD.png" id="4_wdsme"]
[ext_resource type="Texture2D" uid="uid://b8yep31eeor2o" path="res://2DArt/tutorial/mouse.png" id="5_p1l0s"]
[ext_resource type="Texture2D" uid="uid://dovolduibqou2" path="res://2DArt/tutorial/arrow.png" id="6_lxmr7"]
[ext_resource type="Texture2D" uid="uid://xkjlrphq3msn" path="res://2DArt/tutorial/arrow_filled.png" id="7_klqcg"]
[ext_resource type="Texture2D" uid="uid://cn6je1h0mj8du" path="res://2DArt/tutorial/left-click.png" id="8_i5jmt"]
[ext_resource type="Texture2D" uid="uid://bewpfvcbye4mp" path="res://2DArt/tutorial/enterKey.png" id="9_j1om3"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ir016"]
bg_color = Color(1, 0, 0, 1)
[node name="HUD" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_mqiiw")
[node name="Health" type="ProgressBar" parent="."]
visible = false
modulate = Color(0.890196, 0.137255, 0.0156863, 1)
layout_mode = 0
offset_left = 20.0
offset_top = 562.0
offset_right = 165.0
offset_bottom = 589.0
value = 100.0
allow_greater = true
[node name="Fatigue" type="ProgressBar" parent="."]
visible = false
modulate = Color(1, 1, 0, 1)
layout_mode = 0
offset_left = 20.0
offset_top = 602.0
offset_right = 165.0
offset_bottom = 629.0
value = 100.0
[node name="Health-modern" type="ProgressBar" parent="."]
visible = false
modulate = Color(0.890196, 0.137255, 0.0156863, 1)
layout_mode = 0
offset_left = 555.0
offset_top = 314.0
offset_right = 561.0
offset_bottom = 333.0
value = 100.0
allow_greater = true
fill_mode = 3
show_percentage = false
[node name="Fatigue-modern" type="ProgressBar" parent="."]
visible = false
modulate = Color(1, 1, 0, 1)
layout_mode = 0
offset_left = 589.0
offset_top = 314.0
offset_right = 595.0
offset_bottom = 333.0
value = 100.0
fill_mode = 3
show_percentage = false
[node name="Crosshair1" type="Sprite2D" parent="."]
position = Vector2(575, 323)
scale = Vector2(0.0351562, 0.0351562)
texture = ExtResource("2_5dvrx")
[node name="connectedPlayers" type="Panel" parent="."]
layout_mode = 0
offset_left = 8.0
offset_top = 9.0
offset_right = 147.0
offset_bottom = 9.0
[node name="player1Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 2.0
offset_right = 128.0
offset_bottom = 28.0
horizontal_alignment = 1
[node name="player2Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 25.0
offset_right = 128.0
offset_bottom = 51.0
horizontal_alignment = 1
[node name="player3Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 48.0
offset_right = 128.0
offset_bottom = 74.0
horizontal_alignment = 1
[node name="player4Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 71.0
offset_right = 128.0
offset_bottom = 97.0
horizontal_alignment = 1
[node name="player5Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 94.0
offset_right = 128.0
offset_bottom = 120.0
horizontal_alignment = 1
[node name="player6Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 117.0
offset_right = 128.0
offset_bottom = 143.0
horizontal_alignment = 1
[node name="player7Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 140.0
offset_right = 128.0
offset_bottom = 166.0
horizontal_alignment = 1
[node name="player8Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 163.0
offset_right = 128.0
offset_bottom = 189.0
horizontal_alignment = 1
[node name="player9Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 186.0
offset_right = 128.0
offset_bottom = 212.0
horizontal_alignment = 1
[node name="player10Label" type="Label" parent="connectedPlayers"]
layout_mode = 0
offset_left = 7.0
offset_top = 209.0
offset_right = 137.0
offset_bottom = 235.0
horizontal_alignment = 1
[node name="timerPanel" type="Panel" parent="."]
layout_mode = 0
offset_left = 448.0
offset_top = 38.0
offset_right = 646.0
offset_bottom = 113.0
scale = Vector2(1.16, 1)
[node name="timer" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -92.0
offset_top = 33.0
offset_right = 88.0
offset_bottom = 119.0
grow_horizontal = 2
theme_override_constants/outline_size = 1
theme_override_font_sizes/font_size = 60
text = "00:00"
[node name="startLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 253.0
offset_top = 560.0
offset_right = 878.0
offset_bottom = 593.0
theme_override_fonts/font = ExtResource("3_x1wqt")
theme_override_font_sizes/font_size = 29
horizontal_alignment = 1
[node name="musicPanel" type="Panel" parent="."]
layout_mode = 0
offset_left = 889.0
offset_top = 548.0
offset_right = 1146.0
offset_bottom = 644.0
[node name="playingLabel" type="Label" parent="musicPanel"]
layout_mode = 0
offset_left = 4.0
offset_top = 14.0
offset_right = 253.0
offset_bottom = 40.0
text = "Now playing: "
horizontal_alignment = 1
[node name="authorLabel" type="Label" parent="musicPanel"]
layout_mode = 0
offset_left = 7.0
offset_top = 58.0
offset_right = 252.0
offset_bottom = 81.0
horizontal_alignment = 1
[node name="Music" type="Sprite2D" parent="musicPanel"]
position = Vector2(14.75, 11.1035)
scale = Vector2(0.101036, 0.101036)
texture = ExtResource("4_8egld")
[node name="Music2" type="Sprite2D" parent="musicPanel"]
position = Vector2(239.75, 13.1035)
scale = Vector2(0.101036, 0.101036)
texture = ExtResource("4_8egld")
[node name="Music3" type="Sprite2D" parent="musicPanel"]
position = Vector2(240, 82)
scale = Vector2(0.101036, 0.101036)
texture = ExtResource("4_8egld")
[node name="Music4" type="Sprite2D" parent="musicPanel"]
position = Vector2(16, 82)
scale = Vector2(0.101036, 0.101036)
texture = ExtResource("4_8egld")
[node name="RunnerPanel" type="Panel" parent="."]
visible = false
layout_mode = 0
offset_left = 916.0
offset_top = 15.0
offset_right = 1131.0
offset_bottom = 82.0
[node name="Health" type="ProgressBar" parent="RunnerPanel"]
modulate = Color(0.890196, 0.137255, 0.0156863, 1)
layout_mode = 0
offset_left = 5.0
offset_top = 35.0
offset_right = 210.0
offset_bottom = 62.0
max_value = 2000.0
value = 2000.0
allow_greater = true
[node name="runnerLabel" type="Label" parent="RunnerPanel"]
layout_mode = 0
offset_left = 48.0
offset_top = 6.0
offset_right = 161.0
offset_bottom = 32.0
text = "Runner Health"
[node name="killedLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 353.0
offset_top = 130.0
offset_right = 769.0
offset_bottom = 156.0
horizontal_alignment = 1
[node name="TutorialPanel" type="Panel" parent="."]
visible = false
layout_mode = 0
offset_left = 403.0
offset_top = 127.0
offset_right = 754.0
offset_bottom = 290.0
[node name="W" type="Panel" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 159.0
offset_top = 80.0
offset_right = 189.0
offset_bottom = 110.0
theme_override_styles/panel = SubResource("StyleBoxFlat_ir016")
[node name="A" type="Panel" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 119.0
offset_top = 120.0
offset_right = 149.0
offset_bottom = 150.0
theme_override_styles/panel = SubResource("StyleBoxFlat_ir016")
[node name="S" type="Panel" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 159.0
offset_top = 120.0
offset_right = 189.0
offset_bottom = 150.0
theme_override_styles/panel = SubResource("StyleBoxFlat_ir016")
[node name="D" type="Panel" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 199.0
offset_top = 120.0
offset_right = 229.0
offset_bottom = 150.0
theme_override_styles/panel = SubResource("StyleBoxFlat_ir016")
[node name="welcome" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 5.0
offset_top = 19.0
offset_right = 350.0
offset_bottom = 45.0
text = "Welcome to Project Teddy!!!"
horizontal_alignment = 1
[node name="move" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 49.0
offset_right = 346.0
offset_bottom = 75.0
text = "Use WASD to move the character"
horizontal_alignment = 1
[node name="Wasd" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(174, 115)
scale = Vector2(0.226562, 0.226562)
texture = ExtResource("4_wdsme")
[node name="camera" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 12.0
offset_right = 346.0
offset_bottom = 38.0
text = "Move your mouse to move your camera"
horizontal_alignment = 1
[node name="Mouse" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(173, 101)
scale = Vector2(0.0742188, 0.0742188)
texture = ExtResource("5_p1l0s")
[node name="Arrow_up" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(173, 56)
scale = Vector2(0.133159, 0.133159)
texture = ExtResource("6_lxmr7")
[node name="Arrow_left" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(129, 107)
rotation = -1.5708
scale = Vector2(0.133159, 0.133159)
texture = ExtResource("6_lxmr7")
[node name="Arrow_right" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(221, 107)
rotation = 1.5708
scale = Vector2(0.133159, 0.133159)
texture = ExtResource("6_lxmr7")
[node name="Arrow_down" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(173, 146)
rotation = 3.14159
scale = Vector2(0.133159, 0.133159)
texture = ExtResource("6_lxmr7")
[node name="ArrowFilled_up" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(173, 56)
scale = Vector2(0.133, 0.133)
texture = ExtResource("7_klqcg")
[node name="ArrowFilled_left" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(129, 107)
rotation = -1.5708
scale = Vector2(0.133, 0.133)
texture = ExtResource("7_klqcg")
[node name="ArrowFilled_right" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(221, 107)
rotation = 1.5708
scale = Vector2(0.133, 0.133)
texture = ExtResource("7_klqcg")
[node name="ArrowFilled_down" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(173, 146)
rotation = 3.14159
scale = Vector2(0.133, 0.133)
texture = ExtResource("7_klqcg")
[node name="start" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 12.0
offset_right = 346.0
offset_bottom = 38.0
text = "Press Enter to start the round"
horizontal_alignment = 1
[node name="enter" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 37.0
offset_right = 346.0
offset_bottom = 63.0
text = "An AI player will automatically be created"
horizontal_alignment = 1
[node name="EnterKey" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(174, 113)
scale = Vector2(0.0461607, 0.0461607)
texture = ExtResource("9_j1om3")
[node name="shoot" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 12.0
offset_right = 346.0
offset_bottom = 38.0
text = "Use your left click button to shoot bullets"
horizontal_alignment = 1
[node name="Leftmouse" type="Sprite2D" parent="TutorialPanel"]
visible = false
position = Vector2(174, 97)
scale = Vector2(0.43543, 0.43543)
texture = ExtResource("8_i5jmt")
[node name="learning" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 12.0
offset_right = 346.0
offset_bottom = 38.0
text = "Great, using everything you learned"
horizontal_alignment = 1
[node name="aim" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 39.0
offset_right = 346.0
offset_bottom = 65.0
text = "Aim at the enemy AI and shoot at them"
horizontal_alignment = 1
[node name="timer" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 68.0
offset_right = 346.0
offset_bottom = 94.0
text = "You have a timer on the top of your screen"
horizontal_alignment = 1
[node name="zero" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 97.0
offset_right = 346.0
offset_bottom = 123.0
text = "When it gets to 0, the game ends"
horizontal_alignment = 1
[node name="done" type="Label" parent="TutorialPanel"]
visible = false
layout_mode = 0
offset_left = 4.0
offset_top = 129.0
offset_right = 346.0
offset_bottom = 155.0
text = "That's it for the tutorial! Good luck!"
horizontal_alignment = 1