xiandie/README.md

33 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# xiandie
《衔蝶》开发代码
# 说明
- animation framesres://config/animation/entity_sprite_frames.tres
## 插件
- [DialogueManager 使用与维护说明](https://docs.qq.com/doc/DWG5vaEZ1Qk9EdVVw)
- [GIF 插件](https://godotengine.org/asset-library/asset/2255)
## Ground 与 GroundLoader
- 正常游戏Main -> GroundLoader -> Ground
- 开发阶段:直接编辑 Ground
## 存档结构
- 存档命名为:"save"+三位数字
- 如果不足三位数字,则会忽略;超过三位数字不会忽略,可以正常读取
- 这是为了方便多存档功能进行文本排序等
- 开发阶段 debug 存档save000
- 开发阶段 index 页面进入的游戏存档save001
- 发行后,玩家游戏过程中,自动保存的存档编号范围(最多 10 个循环保存000-019
- 发行后,玩家游戏过程中,手动保存的存档编号范围(最多 10 个栏位050-059
- 发行后,玩家游戏过程中最多有以上 20 个存档
每个场景都有一份 GroundArchive 存档,通过 ArchiveManager.archive.ground_archive() 可以获得。
current_scene 是通过 GroundLoader 加载的,在 ground loader 加载 ground 时,会先更新 archive 的 current scene然后加载 ground。