Files
puzzle-quest/scenes/UI/choose_scenes/parts/Template.tscn
T

167 lines
5.0 KiB
Plaintext
Raw Normal View History

[gd_scene format=3]
[ext_resource type="FontVariation" path="res://assets/fonts/kirsty/kirsty_base.tres" id="1"]
[ext_resource type="Texture2D" path="res://assets/ui/themes/tab_select/UI-Button-Reset-hover.png" id="2"]
[ext_resource type="Texture2D" path="res://assets/ui/themes/tab_select/UI-Button-Reset-disabled.png" id="3"]
[ext_resource type="Texture2D" path="res://assets/ui/themes/tab_select/UI-Button-Count-hover.png" id="4"]
[ext_resource type="Texture2D" path="res://assets/ui/themes/tab_select/UI-Button-Reset.png" id="5"]
[ext_resource type="Texture2D" path="res://assets/ui/themes/tab_select/UI-Button-Count.png" id="6"]
[ext_resource type="Texture2D" path="res://assets/ui/themes/tab_select/UI-level-btn-shadow.png" id="7"]
[ext_resource type="Texture2D" path="res://assets/ui/themes/tab_select/UI-level-btn-leather.png" id="8"]
[sub_resource type="Animation" id="1"]
2021-06-06 16:54:38 +02:00
resource_name = "SlideReset"
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
2026-05-16 21:28:22 +02:00
tracks/0/path = NodePath("MarginContainer/CenterAlign/MainButton/TabAlign/ButtonReset:position:y")
2021-06-06 16:54:38 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 0),
"points": PackedFloat32Array(0, -0.25, 0, 0.506539, 0.5, -40, -0.236722, -22.5, 0.25, 0),
"times": PackedFloat32Array(0, 1)
2021-06-06 16:54:38 +02:00
}
2021-05-15 12:08:43 +02:00
2021-06-04 17:54:23 +02:00
[node name="TilePuzzle" type="Control"]
offset_left = 320.0
offset_right = 1600.0
offset_bottom = 720.0
2021-06-04 17:54:23 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2021-05-15 12:08:43 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-04 17:54:23 +02:00
[node name="BackgroundTile" type="TextureRect" parent="."]
visible = false
2021-06-04 17:54:23 +02:00
anchor_left = 0.5
anchor_right = 0.5
offset_left = -114.0
offset_right = 115.0
offset_bottom = 456.0
texture = ExtResource("7")
2021-05-15 12:08:43 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-04 17:54:23 +02:00
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_left = 0.5
anchor_right = 0.5
offset_left = -114.0
offset_right = 115.0
offset_bottom = 720.0
theme_override_constants/margin_right = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_left = 10
2021-06-04 17:54:23 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterAlign" type="VBoxContainer" parent="MarginContainer"]
offset_left = 10.0
offset_top = 10.0
offset_right = 219.0
offset_bottom = 720.0
theme_override_constants/separation = 0
2021-06-04 17:54:23 +02:00
[node name="MainButton" type="TextureButton" parent="MarginContainer/CenterAlign"]
offset_right = 209.0
offset_bottom = 208.0
2021-05-15 12:08:43 +02:00
mouse_default_cursor_shape = 2
texture_normal = ExtResource("8")
2021-06-04 17:54:23 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginStich" type="MarginContainer" parent="MarginContainer/CenterAlign/MainButton"]
anchor_right = 1.0
anchor_bottom = 1.0
theme_override_constants/margin_right = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_left = 5
theme_override_constants/margin_bottom = 5
2021-06-04 17:54:23 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ThumbnailLevel" type="TextureRect" parent="MarginContainer/CenterAlign/MainButton/MarginStich"]
offset_left = 5.0
offset_top = 5.0
offset_right = 204.0
offset_bottom = 203.0
2021-05-15 14:30:00 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
expand_mode = 1
2021-05-15 12:08:43 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-04 17:54:23 +02:00
[node name="ThumbnailLevel" type="TextureRect" parent="MarginContainer/CenterAlign/MainButton"]
offset_left = 5.0
offset_top = 5.0
offset_right = 204.0
offset_bottom = 203.0
2021-05-15 12:08:43 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
expand_mode = 1
2021-06-04 17:54:23 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-15 12:08:43 +02:00
2021-06-06 16:54:38 +02:00
[node name="TabAlign" type="HBoxContainer" parent="MarginContainer/CenterAlign/MainButton"]
show_behind_parent = true
offset_top = 208.0
offset_right = 209.0
offset_bottom = 710.0
size_flags_horizontal = 3
2021-06-04 17:54:23 +02:00
size_flags_vertical = 3
alignment = 1
2021-06-06 16:54:38 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-06 16:54:38 +02:00
[node name="ButtonReset" type="TextureButton" parent="MarginContainer/CenterAlign/MainButton/TabAlign"]
show_behind_parent = true
offset_left = 1.0
offset_right = 90.0
offset_bottom = 57.0
2021-06-04 17:54:23 +02:00
size_flags_vertical = 0
texture_normal = ExtResource("5")
texture_hover = ExtResource("2")
texture_disabled = ExtResource("3")
2021-05-15 12:08:43 +02:00
2021-06-06 16:54:38 +02:00
[node name="ButtonCount" type="TextureButton" parent="MarginContainer/CenterAlign/MainButton/TabAlign"]
offset_left = 94.0
offset_right = 207.0
offset_bottom = 57.0
2021-05-15 12:08:43 +02:00
mouse_default_cursor_shape = 2
2021-06-04 17:54:23 +02:00
size_flags_vertical = 0
texture_normal = ExtResource("6")
texture_hover = ExtResource("4")
texture_focused = ExtResource("4")
2021-05-15 12:08:43 +02:00
2021-06-06 16:54:38 +02:00
[node name="MarginBottom" type="MarginContainer" parent="MarginContainer/CenterAlign/MainButton/TabAlign/ButtonCount"]
2021-05-15 12:08:43 +02:00
anchor_right = 1.0
anchor_bottom = 1.0
theme_override_constants/margin_bottom = 10
2021-06-04 17:54:23 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-06 16:54:38 +02:00
[node name="Label" type="Label" parent="MarginContainer/CenterAlign/MainButton/TabAlign/ButtonCount/MarginBottom"]
offset_right = 113.0
offset_bottom = 47.0
2021-05-15 12:08:43 +02:00
size_flags_horizontal = 3
size_flags_vertical = 7
theme_override_fonts/font = ExtResource("1")
2021-05-15 12:08:43 +02:00
text = "X / 10"
horizontal_alignment = 1
vertical_alignment = 1
2021-05-15 12:08:43 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-06 16:54:38 +02:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/SlideReset = SubResource("1")