199 lines
6.6 KiB
Plaintext
199 lines
6.6 KiB
Plaintext
[gd_scene format=3 uid="uid://b457o3pea81nm"]
|
|
|
|
[ext_resource type="Script" uid="uid://bnhgqibcee442" path="res://scripts/managers/tutorial_overlay.gd" id="1_script"]
|
|
[ext_resource type="Shader" uid="uid://b74mlkt6hd88r" path="res://scenes/tutorial/dim_spotlight.gdshader" id="2_shader"]
|
|
[ext_resource type="Texture2D" uid="uid://brhn1dhp1gm13" path="res://assets/graphics/character_selection/sc_characters/sc_copper.png" id="3_portrait"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dim"]
|
|
shader = ExtResource("2_shader")
|
|
shader_parameter/spotlight = Vector4(0, 0, 0, 0)
|
|
shader_parameter/viewport_size = Vector2(1366, 720)
|
|
shader_parameter/dim_alpha = 0.72
|
|
shader_parameter/padding = 10.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_border"]
|
|
bg_color = Color(0, 0, 0, 0)
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 4
|
|
border_width_bottom = 4
|
|
border_color = Color(1, 0.85, 0.1, 1)
|
|
corner_radius_top_left = 10
|
|
corner_radius_top_right = 10
|
|
corner_radius_bottom_right = 10
|
|
corner_radius_bottom_left = 10
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"]
|
|
bg_color = Color(0.08, 0.08, 0.13, 0.97)
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 4
|
|
border_width_bottom = 4
|
|
border_color = Color(0.4, 0.7, 1, 1)
|
|
corner_radius_top_left = 16
|
|
corner_radius_top_right = 16
|
|
corner_radius_bottom_right = 16
|
|
corner_radius_bottom_left = 16
|
|
|
|
[node name="TutorialOverlay" type="CanvasLayer" unique_id=1522233495]
|
|
layer = 100
|
|
script = ExtResource("1_script")
|
|
|
|
[node name="InputMask" type="Control" parent="." unique_id=441807788]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="DimRect" type="ColorRect" parent="." unique_id=1364863078]
|
|
material = SubResource("ShaderMaterial_dim")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 1
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
[node name="HighlightBorder" type="Panel" parent="." unique_id=25061739]
|
|
visible = false
|
|
offset_right = 100.0
|
|
offset_bottom = 100.0
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_border")
|
|
|
|
[node name="DialoguePanel" type="PanelContainer" parent="." unique_id=2001383324]
|
|
offset_left = 283.0
|
|
offset_top = 510.0
|
|
offset_right = 1083.0
|
|
offset_bottom = 690.0
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_panel")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="DialoguePanel" unique_id=1771861001]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 20
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 20
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="DialoguePanel/MarginContainer" unique_id=357088930]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="Portrait" type="TextureRect" parent="DialoguePanel/MarginContainer/HBoxContainer" unique_id=1911601986]
|
|
custom_minimum_size = Vector2(120, 120)
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
texture = ExtResource("3_portrait")
|
|
expand_mode = 2
|
|
stretch_mode = 6
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="DialoguePanel/MarginContainer/HBoxContainer" unique_id=1395184995]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="SpeakerName" type="Label" parent="DialoguePanel/MarginContainer/HBoxContainer/VBoxContainer" unique_id=1999858404]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.5, 0.8, 1, 1)
|
|
theme_override_font_sizes/font_size = 22
|
|
text = "COMMANDER COPPER"
|
|
|
|
[node name="DialogueText" type="RichTextLabel" parent="DialoguePanel/MarginContainer/HBoxContainer/VBoxContainer" unique_id=476321723]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_font_sizes/normal_font_size = 19
|
|
bbcode_enabled = true
|
|
|
|
[node name="NextIndicator" type="Label" parent="DialoguePanel/MarginContainer/HBoxContainer/VBoxContainer" unique_id=554389315]
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 0.5, 1)
|
|
theme_override_font_sizes/font_size = 15
|
|
text = "Click anywhere to continue ▼"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="HighlightZones" type="Node" parent="." unique_id=2013793015]
|
|
metadata/_comment = "Visual-editor zones: open tutorial_overlay.tscn in Godot, drag each Control to match the game UI element you want highlighted. Positions are in 1366x720 viewport space."
|
|
|
|
[node name="PlayerBoard" type="Control" parent="HighlightZones" unique_id=461308610]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_left = 36.0
|
|
offset_top = 87.0
|
|
offset_right = 301.0
|
|
offset_bottom = 374.0
|
|
|
|
[node name="PowerBar" type="Control" parent="HighlightZones" unique_id=421147912]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_left = 30.0
|
|
offset_top = 339.0
|
|
offset_right = 317.0
|
|
offset_bottom = 415.0
|
|
|
|
[node name="GoalsTimer" type="Control" parent="HighlightZones" unique_id=1065585227]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_left = 499.0
|
|
offset_top = 1.0
|
|
offset_right = 875.0
|
|
offset_bottom = 161.0
|
|
|
|
[node name="PowerUpItem" type="Control" parent="HighlightZones" unique_id=474081571]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_left = 1170.0
|
|
offset_top = 578.0
|
|
offset_right = 1260.0
|
|
offset_bottom = 668.0
|
|
|
|
[node name="Leaderboard" type="Control" parent="HighlightZones" unique_id=1503191193]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_left = 1080.0
|
|
offset_top = 96.0
|
|
offset_right = 1356.0
|
|
offset_bottom = 405.0
|
|
|
|
[node name="ObjectivePanel" type="PanelContainer" parent="." unique_id=-1098906247]
|
|
visible = false
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -823.0
|
|
offset_top = -114.0
|
|
offset_right = -523.0
|
|
offset_bottom = -34.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_panel")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="ObjectivePanel" unique_id=-197916117]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 15
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 15
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ObjectivePanel/MarginContainer" unique_id=1029384756]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="ObjectivePanel/MarginContainer/VBoxContainer" unique_id=1352415614]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 0.85, 0.1, 1)
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "CURRENT OBJECTIVE"
|
|
|
|
[node name="ObjectiveText" type="RichTextLabel" parent="ObjectivePanel/MarginContainer/VBoxContainer" unique_id=895826431]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/normal_font_size = 18
|
|
bbcode_enabled = true
|
|
text = "Objective text goes here"
|
|
fit_content = true
|