《衔蝶》开发代码
.vscode | ||
addons | ||
asset | ||
config | ||
log/logger | ||
manager | ||
scene | ||
ui | ||
util | ||
.gitattributes | ||
.gitignore | ||
icon.svg | ||
project.godot | ||
README.md |
xiandie
《衔蝶》开发代码
说明
- animation frames:res://config/animation/entity_sprite_frames.tres
插件
Ground 与 GroundLoader
- 正常游戏:Main -> GroundLoader -> Ground
- 开发阶段:直接编辑 Ground
存档结构
- 开发阶段存档:save0
- 正常继续游戏存档:save1
每个场景都有一份 GroundArchive 存档,通过 ArchiveManager.archive.ground_archive() 可以获得。
current_scene 是通过 GroundLoader 加载的,在 ground loader 加载 ground 时,会先更新 archive 的 current scene,然后加载 ground。