Files
Kalulu/sources/language_tool/kalulu_speech.tscn
T
2025-04-09 16:56:40 +02:00

71 lines
2.7 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://b71fcfvtqfuov"]
[ext_resource type="Script" uid="uid://b2x5phjrytw85" path="res://sources/language_tool/kalulu_speech.gd" id="1_7ncv6"]
[ext_resource type="PackedScene" uid="uid://dbl3r8426473v" path="res://sources/language_tool/plus_button.tscn" id="1_sx2aj"]
[ext_resource type="Texture2D" uid="uid://ctike5jfpr68v" path="res://assets/menus/play_button.png" id="2_kpiy8"]
[ext_resource type="Texture2D" uid="uid://5fffpm7hc12k" path="res://assets/menus/upload.png" id="3_et87x"]
[node name="KaluluSpeech" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_7ncv6")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
bus = &"Voice"
[node name="FileDialog" type="FileDialog" parent="."]
title = "Open a File"
initial_position = 2
size = Vector2i(1500, 1000)
ok_button_text = "Open"
file_mode = 0
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 25
theme_override_constants/margin_top = 12
theme_override_constants/margin_right = 25
theme_override_constants/margin_bottom = 12
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="NameLabel" type="Label" parent="MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 50
text = "First Welcome"
[node name="DescriptionLabel" type="Label" parent="MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 50
text = "Played on the first opening of the game"
[node name="PlayButton" parent="MarginContainer/HBoxContainer" instance=ExtResource("1_sx2aj")]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="TextureRect" parent="MarginContainer/HBoxContainer/PlayButton" index="0"]
texture = ExtResource("2_kpiy8")
[node name="UploadButton" parent="MarginContainer/HBoxContainer" instance=ExtResource("1_sx2aj")]
unique_name_in_owner = true
layout_mode = 2
[node name="TextureRect" parent="MarginContainer/HBoxContainer/UploadButton" index="0"]
texture = ExtResource("3_et87x")
[connection signal="file_selected" from="FileDialog" to="." method="_on_file_dialog_file_selected"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/UploadButton" to="." method="_on_upload_button_pressed"]
[editable path="MarginContainer/HBoxContainer/PlayButton"]
[editable path="MarginContainer/HBoxContainer/UploadButton"]