xiandie/README.md

1.2 KiB
Raw Blame History

xiandie

《衔蝶》开发代码

说明

  • animation framesres://config/animation/entity_sprite_frames.tres

插件

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。