fishjam2024/Quinnsoft94/desktop.tscn

134 lines
4.7 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://ddtcomingnoto"]
[ext_resource type="Script" path="res://Quinnsoft94/desktop.gd" id="1_7gagq"]
[ext_resource type="Theme" uid="uid://cfsgvdm1la7nr" path="res://Quinnsoft94/quinnsoft94.tres" id="1_ipi37"]
[ext_resource type="Script" path="res://Quinnsoft94/clock.gd" id="1_vlwj3"]
[ext_resource type="Texture2D" uid="uid://6y2jj10wkmu8" path="res://Assets/plentifulfish.png" id="3_acswl"]
[ext_resource type="PackedScene" uid="uid://wa62w2wb4pmr" path="res://Menus/PlentifulFish/PoF.tscn" id="4_o0r25"]
[ext_resource type="Texture2D" uid="uid://3ryvswnvtgpr" path="res://Assets/StartButton/start_button.png" id="5_0n3qh"]
[ext_resource type="Texture2D" uid="uid://c80yh0lidbpn0" path="res://Assets/OffButton/off_button.png" id="5_c2v4l"]
[ext_resource type="Texture2D" uid="uid://dp5oddddyocwu" path="res://Assets/StartButton/start_button_pushed.png" id="6_7cebq"]
[ext_resource type="Texture2D" uid="uid://bhvbeyk2kv2lm" path="res://Assets/StartButton/start_button_hovered.png" id="7_uy8qo"]
[node name="PanelContainer" type="ColorRect" node_paths=PackedStringArray("window_holder", "taskbar", "desktop_icon_container", "start_menu")]
texture_filter = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme = ExtResource("1_ipi37")
color = Color(0, 0.501961, 0.498039, 1)
script = ExtResource("1_7gagq")
window_holder = NodePath("Windows")
taskbar = NodePath("PanelContainer/HBoxContainer/HBoxContainer")
desktop_icon_container = NodePath("VBoxContainer")
pof_icon = ExtResource("3_acswl")
pof_scene = ExtResource("4_o0r25")
start_menu = NodePath("StartMenu")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
offset_left = 40.0
offset_top = 45.0
offset_right = 136.0
offset_bottom = 239.0
mouse_filter = 2
[node name="Windows" type="Control" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="StartMenu" type="PanelContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -100.0
offset_right = 300.0
offset_bottom = -40.0
grow_vertical = 0
[node name="VBoxContainer" type="VBoxContainer" parent="StartMenu"]
layout_mode = 2
[node name="Button" type="Button" parent="StartMenu/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "save game"
alignment = 0
[node name="Button2" type="Button" parent="StartMenu/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "reset save file"
alignment = 0
[node name="Button3" type="Button" parent="StartMenu/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "quit"
icon = ExtResource("5_c2v4l")
alignment = 0
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -40.0
grow_horizontal = 2
grow_vertical = 0
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 0
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 0
[node name="TextureButton" type="TextureButton" parent="PanelContainer/HBoxContainer/MarginContainer"]
custom_minimum_size = Vector2(96, 0)
layout_mode = 2
texture_normal = ExtResource("5_0n3qh")
texture_pressed = ExtResource("6_7cebq")
texture_hover = ExtResource("7_uy8qo")
ignore_texture_size = true
stretch_mode = 5
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="MarginContainer2" type="MarginContainer" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = 0
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 0
[node name="Clock" type="Label" parent="PanelContainer/HBoxContainer/MarginContainer2"]
layout_mode = 2
text = "10:47pm"
horizontal_alignment = 2
vertical_alignment = 1
script = ExtResource("1_vlwj3")
[connection signal="pressed" from="StartMenu/VBoxContainer/Button" to="." method="_on_save_button_pressed"]
[connection signal="pressed" from="StartMenu/VBoxContainer/Button2" to="." method="_on_reset_save_button_pressed"]
[connection signal="pressed" from="StartMenu/VBoxContainer/Button3" to="." method="_on_quit_button_pressed"]
[connection signal="pressed" from="PanelContainer/HBoxContainer/MarginContainer/TextureButton" to="." method="_on_start_button_pressed"]