instinx/godot/App.tscn

278 lines
6.5 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://dxtriafl731dx"]
[ext_resource type="Script" path="res://godot/App.gd" id="1_mppeb"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5uavs"]
bg_color = Color(0.2, 0.058, 0.058, 1)
corner_radius_top_left = 32
corner_radius_top_right = 32
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5u4ls"]
bg_color = Color(0.2, 0.058, 0.058, 1)
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_c0w2o"]
bg_color = Color(0.6, 0.174, 0.174, 1)
corner_radius_top_left = 32
corner_radius_top_right = 32
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kj77j"]
bg_color = Color(0.87665, 0.8633, 0.89, 1)
corner_radius_top_left = 100
corner_radius_top_right = 100
corner_radius_bottom_right = 100
corner_radius_bottom_left = 100
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7puhn"]
bg_color = Color(0.43, 0.1247, 0.1247, 1)
corner_radius_top_left = 32
corner_radius_top_right = 32
[node name="App" 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_mppeb")
[node name="PhotoProcess" type="PhotoProcess" parent="."]
[node name="Poloroid" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Background" type="ColorRect" parent="Poloroid"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0.99, 0.9504, 0.9504, 1)
[node name="Black" type="ColorRect" parent="Poloroid"]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 52.0
offset_top = 52.0
offset_right = -52.0
offset_bottom = -96.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0.08, 0.0768, 0.0768, 1)
metadata/_edit_use_anchors_ = true
[node name="StatusText" type="RichTextLabel" parent="Poloroid"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -200.0
offset_top = -69.0
offset_right = 200.0
offset_bottom = 66.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/normal_font_size = 32
bbcode_enabled = true
text = "[center]Drop in your photos to get started 🫴 🌁
[/center]"
fit_content = true
[node name="Printer" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Background" type="ColorRect" parent="Printer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0.82, 0.7872, 0.7872, 1)
[node name="StatusText" type="RichTextLabel" parent="Printer"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -200.0
offset_top = 121.0
offset_right = 200.0
offset_bottom = 256.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_font_sizes/normal_font_size = 32
bbcode_enabled = true
text = "[center]Drop in your photos to get started 🫴 🌁
[/center]"
fit_content = true
[node name="Back" type="Panel" parent="Printer"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.0
offset_top = -178.0
offset_right = 100.0
offset_bottom = -29.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_5uavs")
[node name="AnimationTarget" type="Control" parent="Printer/Back"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -0.5
offset_top = -0.5
offset_right = 0.5
offset_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
[node name="PictureLayer" type="Control" parent="Printer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Template" type="Control" parent="Printer/PictureLayer"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -165.0
offset_top = -437.0
offset_right = -164.0
offset_bottom = -436.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(85, 95)
[node name="Texture" type="TextureRect" parent="Printer/PictureLayer/Template"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -85.5
offset_top = -73.0
offset_right = 85.5
offset_bottom = 73.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(85, 95)
expand_mode = 1
stretch_mode = 5
[node name="Exit" type="Panel" parent="Printer"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.0
offset_top = 50.0
offset_right = 100.0
offset_bottom = 96.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_5u4ls")
[node name="PictureOutLayer" type="Control" parent="Printer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Front" type="Panel" parent="Printer"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -170.0
offset_top = -98.0
offset_right = 170.0
offset_bottom = 51.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(171, 75)
theme_override_styles/panel = SubResource("StyleBoxFlat_c0w2o")
[node name="Button" type="Panel" parent="Printer/Front"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 129.0
offset_top = -55.5
offset_right = 149.0
offset_bottom = -35.5
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_kj77j")
[node name="Mouth" type="Panel" parent="Printer/Front"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.0
offset_top = 51.5
offset_right = 100.0
offset_bottom = 74.5
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_7puhn")