education-apps/kellett_screen_starter/main_scene.tscn

183 lines
5.5 KiB
Plaintext
Raw Normal View History

2022-11-20 13:02:47 +00:00
[gd_scene load_steps=9 format=2]
[ext_resource path="res://KellettDragon_Red_On_Blue.png" type="Texture" id=1]
[ext_resource path="res://fog.gdshader" type="Shader" id=3]
[ext_resource path="res://noun-cog-1471544.png" type="Texture" id=4]
[ext_resource path="res://kellett_app.tres" type="Theme" id=5]
[ext_resource path="res://noun-cross-1707162.png" type="Texture" id=6]
[ext_resource path="res://Settings.gd" type="Script" id=7]
[ext_resource path="res://light.png" type="Texture" id=8]
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 3 )
shader_param/color = Vector3( 0.35, 0.48, 0.95 )
shader_param/OCTAVES = 4
[node name="KellettPresentation" type="Node2D"]
[node name="KellettDragonRedOnBlue" type="Sprite" parent="."]
position = Vector2( 639.8, 434.3 )
scale = Vector2( 0.631055, 0.628613 )
texture = ExtResource( 1 )
[node name="MoodLight" type="Light2D" parent="."]
unique_name_in_owner = true
visible = false
show_behind_parent = true
position = Vector2( 634, 360 )
scale = Vector2( 637.969, 95.4781 )
texture = ExtResource( 8 )
texture_scale = 0.01
energy = 0.95
shadow_enabled = true
shadow_color = Color( 1, 1, 1, 0 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Mist" type="ColorRect" parent="CanvasLayer"]
unique_name_in_owner = true
material = SubResource( 3 )
anchor_right = 1.0
anchor_bottom = 1.0
[node name="CenterText" type="Label" parent="CanvasLayer"]
unique_name_in_owner = true
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -29.0
margin_bottom = 29.0
text = "This presentation will begin shortly"
align = 1
[node name="SettingsButton" type="TextureButton" parent="CanvasLayer"]
unique_name_in_owner = true
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -26.0
margin_top = -26.0
margin_right = 1174.0
margin_bottom = 1174.0
rect_scale = Vector2( 0.02, 0.02 )
texture_normal = ExtResource( 4 )
[node name="Settings" type="Control" parent="CanvasLayer"]
unique_name_in_owner = true
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -20.0
margin_top = -20.0
margin_right = 20.0
margin_bottom = 20.0
script = ExtResource( 7 )
[node name="MainPanel" type="Panel" parent="CanvasLayer/Settings"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -432.0
margin_top = -319.0
margin_right = 432.0
margin_bottom = -48.0
[node name="LineEdit" type="LineEdit" parent="CanvasLayer/Settings/MainPanel"]
unique_name_in_owner = true
anchor_left = 0.5
anchor_right = 0.5
margin_left = -418.5
margin_top = 52.0
margin_right = 418.5
margin_bottom = 88.0
theme = ExtResource( 5 )
caret_blink = true
caret_blink_speed = 0.5
[node name="OKButton" type="Button" parent="CanvasLayer/Settings/MainPanel"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -15.5
margin_top = -44.0
margin_right = 33.5
margin_bottom = -12.0
theme = ExtResource( 5 )
text = "OK"
[node name="ChangeText" type="Label" parent="CanvasLayer/Settings/MainPanel"]
margin_left = 17.0
margin_top = 35.0
margin_right = 222.0
margin_bottom = 49.0
text = "Change presentation line below:"
[node name="ChooseEffect" type="Label" parent="CanvasLayer/Settings/MainPanel"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -102.5
margin_top = 11.0
margin_right = 102.5
margin_bottom = 25.0
text = "Change effects below:"
align = 1
[node name="FontSizeMin" type="Button" parent="CanvasLayer/Settings/MainPanel"]
margin_left = 807.0
margin_top = 92.0
margin_right = 824.0
margin_bottom = 112.0
text = "-"
[node name="FontSizePlus" type="Button" parent="CanvasLayer/Settings/MainPanel"]
margin_left = 830.0
margin_top = 92.0
margin_right = 850.0
margin_bottom = 112.0
text = "+"
[node name="EffectsBox" type="HBoxContainer" parent="CanvasLayer/Settings/MainPanel"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = 38.5
margin_bottom = 72.5
[node name="LightBox" type="CheckBox" parent="CanvasLayer/Settings/MainPanel/EffectsBox"]
margin_right = 160.0
margin_bottom = 34.0
theme = ExtResource( 5 )
text = "Mood Light"
[node name="MistBox" type="CheckBox" parent="CanvasLayer/Settings/MainPanel/EffectsBox"]
margin_left = 164.0
margin_right = 241.0
margin_bottom = 34.0
theme = ExtResource( 5 )
text = "Mist"
script = ExtResource( 7 )
[node name="CloseButton" type="TextureButton" parent="CanvasLayer"]
visible = false
anchor_left = 1.0
anchor_right = 1.0
margin_left = -60.0
margin_top = 1.0
margin_right = 1140.0
margin_bottom = 1201.0
rect_scale = Vector2( 0.05, 0.05 )
texture_normal = ExtResource( 6 )
[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"]