education-apps/digibord_tools/godot/startup.tscn

90 lines
2.6 KiB
Plaintext
Raw Normal View History

2023-03-30 07:30:04 +00:00
[gd_scene load_steps=6 format=3 uid="uid://cfl44pq56f8ht"]
2022-11-20 13:02:47 +00:00
2023-03-30 07:30:04 +00:00
[ext_resource type="PackedScene" path="res://Tools/Calculator.tscn" id="1"]
[ext_resource type="Script" path="res://startup.gd" id="2"]
[ext_resource type="Script" path="res://main_buttons.gd" id="3"]
[ext_resource type="PackedScene" path="res://Tools/Dice.tscn" id="4"]
2022-11-20 13:02:47 +00:00
2023-03-30 07:30:04 +00:00
[sub_resource type="Theme" id="1"]
2022-11-20 13:02:47 +00:00
[node name="StartupScreen" type="CanvasLayer"]
2023-03-30 07:30:04 +00:00
script = ExtResource("2")
2022-11-20 13:02:47 +00:00
[node name="GridContainer" type="GridContainer" parent="."]
2023-03-30 07:30:04 +00:00
anchors_preset = 15
2022-11-20 13:02:47 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
2023-03-30 07:30:04 +00:00
offset_top = 60.0
theme = SubResource("1")
theme_override_constants/h_separation = 10
theme_override_constants/v_separation = 10
2022-11-20 13:02:47 +00:00
columns = 2
[node name="ButtonHangman" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Hangman"
[node name="ButtonCalculator" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Calculator"
2023-03-30 07:30:04 +00:00
script = ExtResource("3")
2022-11-20 13:02:47 +00:00
[node name="ButtonClock" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Clock"
[node name="ButtonTimer" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Timer"
[node name="ButtonFractions" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Fractions"
[node name="ButtonMultiplications" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Multiplications"
[node name="ButtonBirthday" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Birthday"
[node name="ButtonDice" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Dice"
[node name="ButtonTimeOuts" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "TimeOuts!"
[node name="ButtonDaily" type="Button" parent="GridContainer"]
2023-03-30 07:30:04 +00:00
layout_mode = 2
2022-11-20 13:02:47 +00:00
text = "Daily Inspiration"
2023-03-30 07:30:04 +00:00
[node name="CalculatorScreen" parent="." instance=ExtResource("1")]
2022-11-20 13:02:47 +00:00
visible = false
2023-03-30 07:30:04 +00:00
[node name="DiceScreen" parent="." instance=ExtResource("4")]
2022-11-20 13:02:47 +00:00
visible = false
[connection signal="pressed" from="GridContainer/ButtonCalculator" to="GridContainer/ButtonCalculator" method="_on_ButtonCalculator_pressed"]
[connection signal="pressed" from="GridContainer/ButtonDice" to="GridContainer/ButtonCalculator" method="_on_ButtonDice_pressed"]