education-apps/screen_starter/main_scene.tscn

192 lines
5.8 KiB
Plaintext
Raw Normal View History

2023-03-30 07:30:04 +00:00
[gd_scene load_steps=9 format=3 uid="uid://cfpxwxgjjgaim"]
2022-11-20 13:02:47 +00:00
2023-03-30 07:30:04 +00:00
[ext_resource type="Texture2D" uid="uid://cnbw6prptb6qh" path="res://KellettDragon_Red_On_Blue.png" id="1"]
[ext_resource type="Shader" path="res://fog.gdshader" id="3"]
[ext_resource type="Texture2D" uid="uid://1ngc0sjng4uv" path="res://noun-cog-1471544.png" id="4"]
[ext_resource type="Theme" uid="uid://xg5fa2cs6b84" path="res://kellett_app.tres" id="5"]
[ext_resource type="Texture2D" uid="uid://kdtf0qo5o30x" path="res://noun-cross-1707162.png" id="6"]
[ext_resource type="Script" path="res://Settings.gd" id="7"]
[ext_resource type="Texture2D" uid="uid://dhmnsneg55cwp" path="res://light.png" id="8"]
2022-11-20 13:02:47 +00:00
2023-03-30 07:30:04 +00:00
[sub_resource type="ShaderMaterial" id="3"]
shader = ExtResource("3")
shader_parameter/color = Vector3(0.35, 0.48, 0.95)
shader_parameter/OCTAVES = 4
2022-11-20 13:02:47 +00:00
[node name="KellettPresentation" type="Node2D"]
2023-03-30 07:30:04 +00:00
[node name="KellettDragonRedOnBlue" type="Sprite2D" parent="."]
position = Vector2(639.8, 434.3)
scale = Vector2(0.631055, 0.628613)
texture = ExtResource("1")
2022-11-20 13:02:47 +00:00
2023-03-30 07:30:04 +00:00
[node name="MoodLight" type="PointLight2D" parent="."]
2022-11-20 13:02:47 +00:00
unique_name_in_owner = true
visible = false
show_behind_parent = true
2023-03-30 07:30:04 +00:00
position = Vector2(634, 360)
scale = Vector2(637.969, 95.4781)
2022-11-20 13:02:47 +00:00
energy = 0.95
shadow_enabled = true
2023-03-30 07:30:04 +00:00
shadow_color = Color(1, 1, 1, 0)
texture = ExtResource("8")
texture_scale = 0.01
2022-11-20 13:02:47 +00:00
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Mist" type="ColorRect" parent="CanvasLayer"]
unique_name_in_owner = true
2023-03-30 07:30:04 +00:00
material = SubResource("3")
anchors_preset = 15
2022-11-20 13:02:47 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
[node name="CenterText" type="Label" parent="CanvasLayer"]
unique_name_in_owner = true
2023-03-30 07:30:04 +00:00
anchors_preset = 14
2022-11-20 13:02:47 +00:00
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
2023-03-30 07:30:04 +00:00
offset_top = -29.0
offset_bottom = 29.0
2022-11-20 13:02:47 +00:00
text = "This presentation will begin shortly"
[node name="SettingsButton" type="TextureButton" parent="CanvasLayer"]
unique_name_in_owner = true
2023-03-30 07:30:04 +00:00
anchors_preset = 3
2022-11-20 13:02:47 +00:00
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
2023-03-30 07:30:04 +00:00
offset_left = -26.0
offset_top = -26.0
offset_right = 1174.0
offset_bottom = 1174.0
scale = Vector2(0.02, 0.02)
texture_normal = ExtResource("4")
2022-11-20 13:02:47 +00:00
[node name="Settings" type="Control" parent="CanvasLayer"]
unique_name_in_owner = true
visible = false
2023-03-30 07:30:04 +00:00
layout_mode = 3
anchors_preset = 8
2022-11-20 13:02:47 +00:00
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
2023-03-30 07:30:04 +00:00
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
script = ExtResource("7")
2022-11-20 13:02:47 +00:00
[node name="MainPanel" type="Panel" parent="CanvasLayer/Settings"]
2023-03-30 07:30:04 +00:00
layout_mode = 0
2022-11-20 13:02:47 +00:00
anchor_left = 0.5
anchor_right = 0.5
2023-03-30 07:30:04 +00:00
offset_left = -432.0
offset_top = -319.0
offset_right = 432.0
offset_bottom = -48.0
2022-11-20 13:02:47 +00:00
[node name="LineEdit" type="LineEdit" parent="CanvasLayer/Settings/MainPanel"]
unique_name_in_owner = true
2023-03-30 07:30:04 +00:00
layout_mode = 0
2022-11-20 13:02:47 +00:00
anchor_left = 0.5
anchor_right = 0.5
2023-03-30 07:30:04 +00:00
offset_left = -418.5
offset_top = 52.0
offset_right = 418.5
offset_bottom = 88.0
theme = ExtResource("5")
2022-11-20 13:02:47 +00:00
caret_blink = true
2023-03-30 07:30:04 +00:00
caret_blink_interval = 0.5
2022-11-20 13:02:47 +00:00
[node name="OKButton" type="Button" parent="CanvasLayer/Settings/MainPanel"]
2023-03-30 07:30:04 +00:00
layout_mode = 0
2022-11-20 13:02:47 +00:00
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
2023-03-30 07:30:04 +00:00
offset_left = -15.5
offset_top = -44.0
offset_right = 33.5
offset_bottom = -12.0
theme = ExtResource("5")
2022-11-20 13:02:47 +00:00
text = "OK"
[node name="ChangeText" type="Label" parent="CanvasLayer/Settings/MainPanel"]
2023-03-30 07:30:04 +00:00
layout_mode = 0
offset_left = 17.0
offset_top = 35.0
offset_right = 222.0
offset_bottom = 49.0
2022-11-20 13:02:47 +00:00
text = "Change presentation line below:"
[node name="ChooseEffect" type="Label" parent="CanvasLayer/Settings/MainPanel"]
2023-03-30 07:30:04 +00:00
layout_mode = 0
2022-11-20 13:02:47 +00:00
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
2023-03-30 07:30:04 +00:00
offset_left = -102.5
offset_top = 11.0
offset_right = 102.5
offset_bottom = 25.0
2022-11-20 13:02:47 +00:00
text = "Change effects below:"
[node name="FontSizeMin" type="Button" parent="CanvasLayer/Settings/MainPanel"]
2023-03-30 07:30:04 +00:00
layout_mode = 0
offset_left = 807.0
offset_top = 92.0
offset_right = 824.0
offset_bottom = 112.0
2022-11-20 13:02:47 +00:00
text = "-"
[node name="FontSizePlus" type="Button" parent="CanvasLayer/Settings/MainPanel"]
2023-03-30 07:30:04 +00:00
layout_mode = 0
offset_left = 830.0
offset_top = 92.0
offset_right = 850.0
offset_bottom = 112.0
2022-11-20 13:02:47 +00:00
text = "+"
[node name="EffectsBox" type="HBoxContainer" parent="CanvasLayer/Settings/MainPanel"]
2023-03-30 07:30:04 +00:00
layout_mode = 0
2022-11-20 13:02:47 +00:00
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
2023-03-30 07:30:04 +00:00
offset_top = 38.5
offset_bottom = 72.5
2022-11-20 13:02:47 +00:00
[node name="LightBox" type="CheckBox" parent="CanvasLayer/Settings/MainPanel/EffectsBox"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
theme = ExtResource("5")
text = "Mood Light3D"
2022-11-20 13:02:47 +00:00
[node name="MistBox" type="CheckBox" parent="CanvasLayer/Settings/MainPanel/EffectsBox"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
theme = ExtResource("5")
2022-11-20 13:02:47 +00:00
text = "Mist"
2023-03-30 07:30:04 +00:00
script = ExtResource("7")
2022-11-20 13:02:47 +00:00
[node name="CloseButton" type="TextureButton" parent="CanvasLayer"]
visible = false
2023-03-30 07:30:04 +00:00
anchors_preset = 1
2022-11-20 13:02:47 +00:00
anchor_left = 1.0
anchor_right = 1.0
2023-03-30 07:30:04 +00:00
offset_left = -60.0
offset_top = 1.0
offset_right = 1140.0
offset_bottom = 1201.0
scale = Vector2(0.05, 0.05)
texture_normal = ExtResource("6")
2022-11-20 13:02:47 +00:00
[connection signal="pressed" from="CanvasLayer/SettingsButton" to="CanvasLayer/Settings" method="_on_SettingsButton_pressed"]
[connection signal="pressed" from="CanvasLayer/Settings/MainPanel/OKButton" to="CanvasLayer/Settings" method="_on_OKButton_pressed"]
[connection signal="pressed" from="CanvasLayer/Settings/MainPanel/FontSizeMin" to="CanvasLayer/Settings" method="_on_FontSizeMin_pressed"]
[connection signal="pressed" from="CanvasLayer/Settings/MainPanel/FontSizePlus" to="CanvasLayer/Settings" method="_on_FontSizePlus_pressed"]
[connection signal="toggled" from="CanvasLayer/Settings/MainPanel/EffectsBox/LightBox" to="CanvasLayer/Settings" method="_on_LightBox_toggled"]
[connection signal="toggled" from="CanvasLayer/Settings/MainPanel/EffectsBox/MistBox" to="CanvasLayer/Settings" method="_on_MistBox_toggled"]
[connection signal="pressed" from="CanvasLayer/CloseButton" to="CanvasLayer/Settings" method="_on_TextureButton_pressed"]