[gd_scene load_steps=30 format=3] [ext_resource type="Texture2D" path="res://assets/texture/buttons/clock.png" id="1"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/clock_on.png" id="2"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/time.png" id="3"] [ext_resource type="PackedScene" path="res://scenes/current_time_screen/current_time_screen.tscn" id="4"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/globe.png" id="5"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/globe_on.png" id="6"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/time_on.png" id="7"] [ext_resource type="Script" path="res://scenes/main/main.gd" id="8"] [ext_resource type="Script" path="res://addons/WeatherAPI/node.gd" id="9"] [ext_resource type="Script" path="res://scripts/AudioArrayPlayer.gd" id="10"] [ext_resource type="Script" path="res://scenes/main/time talker.gd" id="11"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/settings.png" id="12"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/settings_on.png" id="13"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/time_hover.png" id="14"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/globe_hover.png" id="15"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/clock_hover.png" id="16"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/settings_hover.png" id="17"] [ext_resource type="Theme" path="res://assets/main.tres" id="18"] [ext_resource type="Script" path="res://addons/BetterTabContainer/BetterTabContainer.gd" id="19"] [ext_resource type="Texture2D" path="res://assets/texture/buttons/moon.png" id="20"] [ext_resource type="PackedScene" path="res://scenes/alarms_screen/alarms_screen.tscn" id="21"] [ext_resource type="Script" path="res://scenes/main/sleep_mode.gd" id="22"] [ext_resource type="Texture2D" path="res://assets/texture/alarms/cancel.png" id="23"] [ext_resource type="Texture2D" path="res://assets/texture/alarms/wakeup.png" id="24"] [ext_resource type="Script" path="res://scenes/main/alarm.gd" id="25"] [ext_resource type="PackedScene" path="res://scenes/settings_screen/settings_screen.tscn" id="26"] [ext_resource type="Texture2D" path="res://icon.png" id="27"] [ext_resource type="Shader" path="res://assets/foreground_invert.gdshader" id="28"] [sub_resource type="ShaderMaterial" id="4"] shader = ExtResource("28") shader_parameter/transition = 0.0 [node name="main" type="MarginContainer"] anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 theme = ExtResource("18") script = ExtResource("8") [node name="background" type="ColorRect" parent="." groups=["background"]] offset_right = 350.0 offset_bottom = 650.0 mouse_filter = 2 color = Color(0.815686, 0.815686, 0.815686, 1) [node name="TabContainer" type="TabContainer" parent="."] offset_right = 350.0 offset_bottom = 650.0 tabs_visible = false [node name="VBoxContainer" type="VBoxContainer" parent="TabContainer"] anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="screens" type="ScrollContainer" parent="TabContainer/VBoxContainer"] unique_name_in_owner = true offset_right = 350.0 offset_bottom = 582.0 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource("19") swipe_threshold = 32.0 [node name="current_time_screen" parent="TabContainer/VBoxContainer/screens" instance=ExtResource("4")] offset_bottom = 582.0 [node name="Control3" parent="TabContainer/VBoxContainer/screens/current_time_screen" index="0"] offset_bottom = 582.0 [node name="VBoxContainer" parent="TabContainer/VBoxContainer/screens/current_time_screen" index="1"] offset_bottom = 582.0 [node name="Control" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="0"] offset_bottom = 56.0 [node name="time_display" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="1"] offset_top = 60.0 offset_bottom = 149.0 [node name="weather_display" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="2"] offset_top = 153.0 offset_bottom = 353.0 [node name="location_display" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="3"] offset_top = 357.0 offset_bottom = 377.0 [node name="temperature_display" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="4"] offset_top = 381.0 offset_bottom = 417.0 [node name="Control2" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="5"] offset_top = 421.0 offset_bottom = 477.0 [node name="audio" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="6"] offset_top = 481.0 offset_bottom = 521.0 [node name="Control3" parent="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer" index="7"] offset_top = 525.0 offset_bottom = 582.0 [node name="Control4" parent="TabContainer/VBoxContainer/screens/current_time_screen" index="2"] offset_bottom = 582.0 [node name="alarms_screen" parent="TabContainer/VBoxContainer/screens" instance=ExtResource("21")] anchor_right = 0.0 anchor_bottom = 0.0 offset_right = 350.0 offset_bottom = 582.0 [node name="globe_screen" type="ScrollContainer" parent="TabContainer/VBoxContainer/screens"] offset_right = 304.0 mouse_filter = 2 horizontal_scroll_mode = 0 [node name="globe_screen" type="VBoxContainer" parent="TabContainer/VBoxContainer/screens/globe_screen"] offset_right = 288.0 offset_bottom = 528.0 mouse_filter = 2 size_flags_horizontal = 3 size_flags_vertical = 3 alignment = 1 [node name="MarginContainer" type="MarginContainer" parent="TabContainer/VBoxContainer/screens/globe_screen/globe_screen"] offset_right = 288.0 offset_bottom = 300.0 mouse_filter = 2 size_flags_horizontal = 3 theme_override_constants/margin_right = 25 theme_override_constants/margin_left = 25 [node name="TextureRect" type="TextureRect" parent="TabContainer/VBoxContainer/screens/globe_screen/globe_screen/MarginContainer"] offset_left = 25.0 offset_right = 263.0 offset_bottom = 300.0 custom_minimum_size = Vector2(0, 300) mouse_filter = 2 size_flags_horizontal = 3 texture = ExtResource("27") expand_mode = 1 stretch_mode = 5 [node name="version" type="Label" parent="TabContainer/VBoxContainer/screens/globe_screen/globe_screen"] offset_top = 304.0 offset_right = 288.0 offset_bottom = 326.0 text = "UNIQLONE v1.0" horizontal_alignment = 1 [node name="credits" type="Label" parent="TabContainer/VBoxContainer/screens/globe_screen/globe_screen" groups=["linkbacks"]] offset_top = 330.0 offset_right = 288.0 offset_bottom = 502.0 text = " Made by (lis)anne Original app & assets by UNIQLO Created in Godot engine Name by @Sneakilli BetterTabContainer by Ucrash " horizontal_alignment = 1 [node name="credits_button" type="LinkButton" parent="TabContainer/VBoxContainer/screens/globe_screen/globe_screen" groups=["linkbacks"]] offset_left = 30.0 offset_top = 506.0 offset_right = 257.0 offset_bottom = 528.0 size_flags_horizontal = 4 theme_override_colors/font_color = Color(0, 0, 0, 1) text = "Check out my other stuff" [node name="settings_screen" parent="TabContainer/VBoxContainer/screens" instance=ExtResource("26")] offset_bottom = 582.0 [node name="tab_buttons" type="HBoxContainer" parent="TabContainer/VBoxContainer"] unique_name_in_owner = true offset_top = 586.0 offset_right = 350.0 offset_bottom = 636.0 custom_minimum_size = Vector2(0, 50) [node name="current_button" type="TextureButton" parent="TabContainer/VBoxContainer/tab_buttons"] offset_right = 84.0 offset_bottom = 50.0 mouse_default_cursor_shape = 2 size_flags_horizontal = 3 toggle_mode = true button_pressed = true texture_normal = ExtResource("3") texture_pressed = ExtResource("7") texture_hover = ExtResource("14") ignore_texture_size = true stretch_mode = 5 [node name="alarms_button" type="TextureButton" parent="TabContainer/VBoxContainer/tab_buttons"] offset_left = 88.0 offset_right = 173.0 offset_bottom = 50.0 mouse_default_cursor_shape = 2 size_flags_horizontal = 3 toggle_mode = true texture_normal = ExtResource("1") texture_pressed = ExtResource("2") texture_hover = ExtResource("16") ignore_texture_size = true stretch_mode = 5 [node name="globe_button" type="TextureButton" parent="TabContainer/VBoxContainer/tab_buttons"] offset_left = 177.0 offset_right = 261.0 offset_bottom = 50.0 mouse_default_cursor_shape = 2 size_flags_horizontal = 3 toggle_mode = true texture_normal = ExtResource("5") texture_pressed = ExtResource("6") texture_hover = ExtResource("15") ignore_texture_size = true stretch_mode = 5 [node name="settings_button" type="TextureButton" parent="TabContainer/VBoxContainer/tab_buttons"] offset_left = 265.0 offset_right = 350.0 offset_bottom = 50.0 mouse_default_cursor_shape = 2 size_flags_horizontal = 3 toggle_mode = true texture_normal = ExtResource("12") texture_pressed = ExtResource("13") texture_hover = ExtResource("17") ignore_texture_size = true stretch_mode = 5 [node name="Control" type="Control" parent="TabContainer/VBoxContainer"] offset_top = 640.0 offset_right = 350.0 offset_bottom = 650.0 custom_minimum_size = Vector2(0, 10) [node name="alarm" type="MarginContainer" parent="."] visible = false offset_right = 350.0 offset_bottom = 650.0 script = ExtResource("25") [node name="background" type="ColorRect" parent="alarm" groups=["background"]] offset_right = 350.0 offset_bottom = 650.0 mouse_filter = 2 color = Color(0.815686, 0.815686, 0.815686, 1) [node name="VBoxContainer" type="VBoxContainer" parent="alarm"] offset_right = 350.0 offset_bottom = 650.0 [node name="current_time_screen" parent="alarm/VBoxContainer" instance=ExtResource("4")] offset_bottom = 532.0 [node name="Control3" parent="alarm/VBoxContainer/current_time_screen" index="0"] offset_bottom = 532.0 [node name="VBoxContainer" parent="alarm/VBoxContainer/current_time_screen" index="1"] offset_bottom = 532.0 [node name="Control" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="0"] offset_bottom = 72.0 [node name="TextureRect" type="TextureRect" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="1"] offset_top = 76.0 offset_right = 300.0 offset_bottom = 76.0 [node name="time_display" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="2"] offset_top = 80.0 offset_bottom = 169.0 [node name="weather_display" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="3"] offset_top = 173.0 offset_bottom = 391.0 [node name="location_display" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="4"] offset_top = 395.0 offset_bottom = 415.0 [node name="temperature_display" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="5"] offset_top = 419.0 offset_bottom = 455.0 [node name="Control2" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="6"] offset_top = 459.0 offset_bottom = 532.0 [node name="audio" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="7"] visible = false [node name="Control3" parent="alarm/VBoxContainer/current_time_screen/VBoxContainer" index="8"] visible = false offset_top = 528.0 [node name="Control4" parent="alarm/VBoxContainer/current_time_screen" index="2"] offset_bottom = 532.0 [node name="HBoxContainer" type="HBoxContainer" parent="alarm/VBoxContainer"] offset_top = 536.0 offset_right = 350.0 offset_bottom = 600.0 custom_minimum_size = Vector2(0, 64) [node name="snooze" type="TextureButton" parent="alarm/VBoxContainer/HBoxContainer"] offset_right = 173.0 offset_bottom = 64.0 mouse_default_cursor_shape = 2 size_flags_horizontal = 3 size_flags_vertical = 3 texture_normal = ExtResource("23") ignore_texture_size = true stretch_mode = 5 [node name="stop" type="TextureButton" parent="alarm/VBoxContainer/HBoxContainer"] offset_left = 177.0 offset_right = 350.0 offset_bottom = 64.0 mouse_default_cursor_shape = 2 size_flags_horizontal = 3 size_flags_vertical = 3 texture_normal = ExtResource("24") ignore_texture_size = true stretch_mode = 5 [node name="snooze timer" type="Timer" parent="alarm"] wait_time = 300.0 one_shot = true [node name="foreground" type="ColorRect" parent="."] material = SubResource("4") offset_right = 350.0 offset_bottom = 650.0 mouse_filter = 2 [node name="sleep_mode" type="MarginContainer" parent="." groups=["minute_timer_updates"]] visible = false offset_right = 350.0 offset_bottom = 650.0 mouse_default_cursor_shape = 2 script = ExtResource("22") [node name="ColorRect" type="ColorRect" parent="sleep_mode"] offset_right = 350.0 offset_bottom = 650.0 color = Color(0, 0, 0, 1) [node name="CenterContainer" type="CenterContainer" parent="sleep_mode"] offset_right = 350.0 offset_bottom = 650.0 [node name="VBoxContainer" type="VBoxContainer" parent="sleep_mode/CenterContainer"] modulate = Color(1, 1, 1, 0.47451) offset_left = 128.0 offset_top = 267.0 offset_right = 221.0 offset_bottom = 383.0 [node name="TextureRect" type="TextureRect" parent="sleep_mode/CenterContainer/VBoxContainer"] offset_right = 93.0 offset_bottom = 64.0 custom_minimum_size = Vector2(64, 64) texture = ExtResource("20") expand_mode = 1 stretch_mode = 5 [node name="Label" type="Label" parent="sleep_mode/CenterContainer/VBoxContainer"] offset_top = 68.0 offset_right = 93.0 offset_bottom = 90.0 text = "Good night" horizontal_alignment = 1 [node name="time" type="Label" parent="sleep_mode/CenterContainer/VBoxContainer"] unique_name_in_owner = true offset_top = 94.0 offset_right = 93.0 offset_bottom = 116.0 text = "7 AM" horizontal_alignment = 1 [node name="hide_sleepmode" type="Button" parent="sleep_mode"] offset_right = 350.0 offset_bottom = 650.0 mouse_default_cursor_shape = 2 flat = true [node name="sleep_timer" type="Timer" parent="sleep_mode"] one_shot = true [node name="time talker" type="Node" parent="."] script = ExtResource("11") [node name="speech" type="AudioStreamPlayer" parent="time talker"] script = ExtResource("10") [node name="music" type="AudioStreamPlayer" parent="time talker"] [node name="WeatherAPINode" type="Node" parent="."] script = ExtResource("9") [node name="minute timer" type="Timer" parent="."] [node name="hourly weather timer" type="Timer" parent="."] wait_time = 3600.0 autostart = true [connection signal="tab_switched" from="TabContainer/VBoxContainer/screens" to="." method="_on_TabContainer_tab_selected"] [connection signal="toggled" from="TabContainer/VBoxContainer/screens/current_time_screen/VBoxContainer/audio" to="." method="_on_audio_toggled"] [connection signal="pressed" from="TabContainer/VBoxContainer/screens/globe_screen/globe_screen/credits_button" to="." method="_on_credits_button_pressed"] [connection signal="pressed" from="TabContainer/VBoxContainer/tab_buttons/current_button" to="." method="_on_tab_button_pressed" binds= [0]] [connection signal="pressed" from="TabContainer/VBoxContainer/tab_buttons/alarms_button" to="." method="_on_tab_button_pressed" binds= [1]] [connection signal="pressed" from="TabContainer/VBoxContainer/tab_buttons/globe_button" to="." method="_on_tab_button_pressed" binds= [2]] [connection signal="pressed" from="TabContainer/VBoxContainer/tab_buttons/settings_button" to="." method="_on_tab_button_pressed" binds= [3]] [connection signal="pressed" from="alarm/VBoxContainer/HBoxContainer/snooze" to="alarm" method="_on_snooze_pressed"] [connection signal="pressed" from="alarm/VBoxContainer/HBoxContainer/stop" to="alarm" method="_on_stop_pressed"] [connection signal="timeout" from="alarm/snooze timer" to="alarm" method="_on_snooze_timer_timeout"] [connection signal="pressed" from="sleep_mode/hide_sleepmode" to="." method="_on_hide_sleepmode_pressed"] [connection signal="timeout" from="sleep_mode/sleep_timer" to="sleep_mode" method="_on_sleep_timer_timeout"] [connection signal="finished" from="time talker" to="." method="_on_time_talker_finished"] [connection signal="finished" from="time talker" to="alarm" method="_on_time_talker_finished"] [connection signal="all_finished" from="time talker/speech" to="time talker" method="_on_speech_all_finished"] [connection signal="finished" from="time talker/music" to="time talker" method="_on_music_finished"] [connection signal="received_forecast" from="WeatherAPINode" to="." method="_on_WeatherAPINode_received_forecast"] [connection signal="timeout" from="minute timer" to="." method="_on_minute_timer_timeout"] [connection signal="timeout" from="hourly weather timer" to="." method="_on_hourly_weather_timer_timeout"] [editable path="TabContainer/VBoxContainer/screens/current_time_screen"] [editable path="alarm/VBoxContainer/current_time_screen"]