update
This commit is contained in:
parent
b20452a7cb
commit
e8d11454b3
@ -17,6 +17,7 @@ var autosave_timer := Timer.new()
|
||||
func _ready() -> void:
|
||||
# 禁用默认退出行为,在 _notification 处理 NOTIFICATION_WM_CLOSE_REQUEST 时保存数据
|
||||
get_tree().set_auto_accept_quit(false)
|
||||
process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
if not _check_dirs_and_archives():
|
||||
_handle_load_error("存档目录", "读写")
|
||||
return
|
||||
|
@ -1,7 +1,7 @@
|
||||
class_name GlobalConfig extends Resource
|
||||
|
||||
const DEBUG = true
|
||||
# const DEBUG = false
|
||||
#const DEBUG = true
|
||||
const DEBUG = false
|
||||
|
||||
# .res would be binary encoded, .tres is text encoded
|
||||
const RES_FILE_FORMAT = ".tres"
|
||||
|
@ -9,7 +9,8 @@ enum VIBE {
|
||||
|
||||
@export var first_entered = true
|
||||
|
||||
# func _ready():
|
||||
func _ready():
|
||||
process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
# get_tree().node_added.connect("_on_node_added")
|
||||
|
||||
#### Ground and Loader ####
|
||||
|
@ -26,9 +26,14 @@ config/name_localized={
|
||||
"zh_Hans": "衔蝶",
|
||||
"zh_Hant": "衔蝶"
|
||||
}
|
||||
config/version="1.0"
|
||||
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")
|
||||
boot_splash/image="uid://oq5ci80mkhih"
|
||||
config/icon="res://icon.svg"
|
||||
boot_splash/minimum_display_time=1000
|
||||
|
||||
[audio]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user