update ui

This commit was merged in pull request #31.
This commit is contained in:
2026-06-18 19:59:07 +00:00
parent 5c807d7b69
commit 5dd8f8092c
73 changed files with 1452 additions and 117 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bu3i1fieme2tl"
path="res://.godot/imported/button_daynightcycleoff.png-131eced9a7760b605f2000cb094084a8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://core/main_scene_ui/assets/button_daynightcycleoff.png"
dest_files=["res://.godot/imported/button_daynightcycleoff.png-131eced9a7760b605f2000cb094084a8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cimo71kc2x58a"
path="res://.godot/imported/button_weather_off.png-342a4361cdab31d6ec154c88e60f162b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://core/main_scene_ui/assets/button_weather_off.png"
dest_files=["res://.godot/imported/button_weather_off.png-342a4361cdab31d6ec154c88e60f162b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -14,7 +14,11 @@ extends Control
@onready var photo_mode_black_screen: ColorRect = $%PhotoModeBlackScreen
@onready var audio_player: Control = $%AudioPlayer
var cycle = false
var _cycle = false
var _rain = false
var _snow = false
var _storm = false
var _wind = false
var _photo_mode_mat_tween: Tween
var _photo_mode_alpha_tween: Tween
var _photo_mode_fold_tween: Tween
@@ -62,21 +66,25 @@ func _on_time_of_day_row_on_option_changed(data: String) -> void:
"Night":
UIEvents.time_option_item_changed.emit(3)
"Cycle":
cycle = !cycle
UIEvents.toggle_pause_daytime.emit(cycle)
_cycle = !_cycle
UIEvents.toggle_pause_daytime.emit(_cycle)
_:
pass
func _on_weather_row_on_option_changed(data: String) -> void:
match data:
"Snow":
UIEvents.toggle_snow.emit(true)
_snow = !_snow
UIEvents.toggle_snow.emit(_snow)
"Rain":
UIEvents.toggle_rain.emit(true)
_rain = !_rain
UIEvents.toggle_rain.emit(_rain)
"Storm":
UIEvents.toggle_storm.emit(true)
_storm = !_storm
UIEvents.toggle_storm.emit(_storm)
"Wind":
UIEvents.toggle_wind.emit(true)
_wind = !_wind
UIEvents.toggle_wind.emit(_wind)
"Random":
pick_random_weather()
_:

View File

@@ -10,6 +10,7 @@
[ext_resource type="PackedScene" uid="uid://cpeyt1dgrtglc" path="res://core/radio/radio.tscn" id="5_nevjt"]
[ext_resource type="Texture2D" uid="uid://blttomjog2rin" path="res://core/main_scene_ui/assets/button_weather_nosnow.png" id="6_167gj"]
[ext_resource type="AudioStream" uid="uid://70cc8she43re" path="res://docs/gyms/radio/lofi_01.ogg" id="6_kd244"]
[ext_resource type="Texture2D" uid="uid://bu3i1fieme2tl" path="res://core/main_scene_ui/assets/button_daynightcycleoff.png" id="6_luj56"]
[ext_resource type="Texture2D" uid="uid://bj0idkr7kd4ik" path="res://core/main_scene_ui/assets/button_weather_snow.png" id="6_xykej"]
[ext_resource type="Texture2D" uid="uid://cc6e2piksgv1a" path="res://core/main_scene_ui/assets/button_weather01.png" id="6_yggu7"]
[ext_resource type="Texture2D" uid="uid://d3v43kog5fwnf" path="res://core/main_scene_ui/assets/button_weather_rain.png" id="7_jpmw5"]
@@ -72,6 +73,7 @@ data = "Night"
[node name="IconButton5" parent="Rows/TimeOfDayRow" index="4" unique_id=315412403]
data = "Cycle"
image = ExtResource("5_fjfwt")
images = Array[Texture]([ExtResource("5_fjfwt"), ExtResource("6_luj56")])
apply_texture_on_selection = false
[node name="ShowContainerTween" parent="Rows/TimeOfDayRow" index="5" unique_id=160227524]