This commit is contained in:
cakipaul 2025-04-01 16:16:29 +08:00
parent b20452a7cb
commit e8d11454b3
4 changed files with 10 additions and 3 deletions

View File

@ -17,6 +17,7 @@ var autosave_timer := Timer.new()
func _ready() -> void: func _ready() -> void:
# 禁用默认退出行为,在 _notification 处理 NOTIFICATION_WM_CLOSE_REQUEST 时保存数据 # 禁用默认退出行为,在 _notification 处理 NOTIFICATION_WM_CLOSE_REQUEST 时保存数据
get_tree().set_auto_accept_quit(false) get_tree().set_auto_accept_quit(false)
process_mode = Node.PROCESS_MODE_ALWAYS
if not _check_dirs_and_archives(): if not _check_dirs_and_archives():
_handle_load_error("存档目录", "读写") _handle_load_error("存档目录", "读写")
return return

View File

@ -1,7 +1,7 @@
class_name GlobalConfig extends Resource class_name GlobalConfig extends Resource
const DEBUG = true #const DEBUG = true
# const DEBUG = false const DEBUG = false
# .res would be binary encoded, .tres is text encoded # .res would be binary encoded, .tres is text encoded
const RES_FILE_FORMAT = ".tres" const RES_FILE_FORMAT = ".tres"

View File

@ -9,7 +9,8 @@ enum VIBE {
@export var first_entered = true @export var first_entered = true
# func _ready(): func _ready():
process_mode = Node.PROCESS_MODE_ALWAYS
# get_tree().node_added.connect("_on_node_added") # get_tree().node_added.connect("_on_node_added")
#### Ground and Loader #### #### Ground and Loader ####

View File

@ -26,9 +26,14 @@ config/name_localized={
"zh_Hans": "衔蝶", "zh_Hans": "衔蝶",
"zh_Hant": "衔蝶" "zh_Hant": "衔蝶"
} }
config/version="1.0"
run/main_scene="res://scene/index_page.tscn" run/main_scene="res://scene/index_page.tscn"
config/use_custom_user_dir=true
config/custom_user_dir_name="xiandie"
config/features=PackedStringArray("4.4", "Mobile") config/features=PackedStringArray("4.4", "Mobile")
boot_splash/image="uid://oq5ci80mkhih"
config/icon="res://icon.svg" config/icon="res://icon.svg"
boot_splash/minimum_display_time=1000
[audio] [audio]