AppLauncher/main.tscn
2024-04-12 15:42:46 +02:00

258 lines
7.1 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://cefaf32sglsey"]
[ext_resource type="Script" path="res://main.gd" id="1_ksdsl"]
[sub_resource type="Animation" id="Animation_ise3b"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/HBoxContainer/ProfilePanel:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Panel/HBoxContainer/ProfilePanel:size_flags_stretch_ratio")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Panel/HBoxContainer/ProfilePanel:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_m3lq2"]
resource_name = "switch_profile_view"
length = 0.15
step = 0.05
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/HBoxContainer/ProfilePanel:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.15),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [false, true, true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Panel/HBoxContainer/ProfilePanel:size_flags_stretch_ratio")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.05, 0.15),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Panel/HBoxContainer/ProfilePanel:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.05, 0.15),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_s7q63"]
_data = {
"RESET": SubResource("Animation_ise3b"),
"switch_profile_view": SubResource("Animation_m3lq2")
}
[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ksdsl")
[node name="Anim" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_s7q63")
}
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VSeparator" type="VSeparator" parent="Panel/HBoxContainer"]
self_modulate = Color(1, 1, 1, 0)
layout_mode = 2
[node name="Cont" type="VBoxContainer" parent="Panel/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="HSeparator" type="HSeparator" parent="Panel/HBoxContainer/Cont"]
self_modulate = Color(1, 1, 1, 0)
layout_mode = 2
[node name="GameTab" type="HBoxContainer" parent="Panel/HBoxContainer/Cont"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
[node name="GameIcon" type="TextureRect" parent="Panel/HBoxContainer/Cont/GameTab"]
unique_name_in_owner = true
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
expand_mode = 3
stretch_mode = 4
[node name="GameName" type="Label" parent="Panel/HBoxContainer/Cont/GameTab"]
unique_name_in_owner = true
layout_mode = 2
text = "Selected Game Name"
[node name="VSeparator" type="VSeparator" parent="Panel/HBoxContainer/Cont/GameTab"]
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/HBoxContainer/Cont/GameTab"]
layout_mode = 2
alignment = 1
[node name="ProfileAdd" type="Button" parent="Panel/HBoxContainer/Cont/GameTab/VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
text = "Add profile"
[node name="VSeparator2" type="VSeparator" parent="Panel/HBoxContainer/Cont/GameTab"]
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(16, 0)
layout_mode = 2
[node name="VBoxContainer2" type="VBoxContainer" parent="Panel/HBoxContainer/Cont/GameTab"]
layout_mode = 2
alignment = 1
[node name="GameClose" type="Button" parent="Panel/HBoxContainer/Cont/GameTab/VBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
text = "Return"
[node name="Games" type="ItemList" parent="Panel/HBoxContainer/Cont"]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 4.0
auto_height = true
max_columns = 8
same_column_width = true
icon_mode = 0
[node name="Profiles" type="ItemList" parent="Panel/HBoxContainer/Cont"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 4.0
auto_height = true
max_columns = 8
same_column_width = true
icon_mode = 0
[node name="HSeparator3" type="HSeparator" parent="Panel/HBoxContainer/Cont"]
self_modulate = Color(1, 1, 1, 0)
layout_mode = 2
[node name="VSeparator2" type="VSeparator" parent="Panel/HBoxContainer"]
self_modulate = Color(1, 1, 1, 0)
layout_mode = 2
[node name="ProfilePanel" type="VBoxContainer" parent="Panel/HBoxContainer"]
unique_name_in_owner = true
visible = false
modulate = Color(1, 1, 1, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.0
[node name="ProfileIcon" type="TextureRect" parent="Panel/HBoxContainer/ProfilePanel"]
unique_name_in_owner = true
custom_minimum_size = Vector2(96, 96)
layout_mode = 2
expand_mode = 3
stretch_mode = 4
[node name="ProfileName" type="Label" parent="Panel/HBoxContainer/ProfilePanel"]
unique_name_in_owner = true
layout_mode = 2
text = "Profile Name"
[node name="ProfileDesc" type="Label" parent="Panel/HBoxContainer/ProfilePanel"]
unique_name_in_owner = true
layout_mode = 2
text = "Profile Desc"
[node name="ProfileOptions" type="HBoxContainer" parent="Panel/HBoxContainer/ProfilePanel"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="ProfileLaunch" type="Button" parent="Panel/HBoxContainer/ProfilePanel/ProfileOptions"]
unique_name_in_owner = true
layout_mode = 2
text = "Launch"
[node name="ProfileEdit" type="Button" parent="Panel/HBoxContainer/ProfilePanel/ProfileOptions"]
unique_name_in_owner = true
layout_mode = 2
text = "Edit"
[node name="ProfileDelete" type="Button" parent="Panel/HBoxContainer/ProfilePanel/ProfileOptions"]
unique_name_in_owner = true
layout_mode = 2
text = "Delete"
[node name="ProfileOpenFolder" type="Button" parent="Panel/HBoxContainer/ProfilePanel/ProfileOptions"]
unique_name_in_owner = true
layout_mode = 2
text = "Open Folder"
[node name="HTTPRequest" type="HTTPRequest" parent="."]
use_threads = true