Compare commits

...
82 Commits
Author SHA1 Message Date
basil 91b8e177c5 优化武器商品描述文本、修复敌人子弹无法击中玩家的bug 2026-09-26 22:55:52 +08:00
basil 051c075183 添加 ShopForm 下的 StatForm,展示玩家属性 2026-09-25 00:03:39 +08:00
basil c61eb7fb68 调整敌人经验配置、修复百分率属性问题 2026-09-24 23:03:59 +08:00
basil 02f4c67464 Phase 1: 复合属性修饰器管线与伤害结算系统 2026-09-24 22:37:22 +08:00
basil ba25ec1926 引入属性、伤害管线 2026-09-18 21:43:22 +08:00
basil 92e1ea0d55 简单重构拆分 SimulationWorld 2026-09-18 17:43:41 +08:00
basil 1e4d3ef8d7 清理 Player 以及相关组件 2026-09-15 11:31:20 +08:00
basil 88ed35e757 重构清理敌人类 2026-09-15 11:07:01 +08:00
basil 421f8bf619 整理武器配置和重构 2026-09-15 10:13:58 +08:00
basil 17ee268416 清理各个 Component 里的判断以及调用规范 2026-09-14 18:35:02 +08:00
basil 5fbeec2476 清理目录 2026-09-14 17:32:56 +08:00
basil 9c54905f85 整理 ShopUseCase 的相关脚本 2026-09-14 17:30:04 +08:00
basil b628a8537c 迁移剩下的 UI 到 Serialization 方式 2026-09-14 17:19:31 +08:00
basil 091a29db63 引入 UISerializationRoot 和 Item
- 完成 MenuForm 和 SelectRoleForm 的迁移
2026-09-13 22:18:29 +08:00
basil e2fdb660ab 清理无用素材 2026-09-13 20:46:16 +08:00
basil 7dc529a840 调整部分数据表配置,优化 SpriteCache 功能 2026-09-13 20:36:21 +08:00
basil de53890de6 迁移数据表到 Luban,移除 JsonNet、EnumUtility 2026-09-13 14:08:14 +08:00
basil 4003b3aaba 阶段性打包 2026-09-12 21:49:10 +08:00
basil 4250e48e22 修复 GameStateBattle -> GameStateShop/LevelUp 时的敌人异常残留问题
用一个 _isStopped 布尔门替代 id 追踪:

- OnReset 开头置 _isStopped = true
- OnInit 置 _isStopped = false
- OnShowEntitySuccess:只要 _isStopped 为真且是 Enemy 组,立即 HideEntity
- SpawnEnemyAsync await 恢复后也补一道 _isStopped 检查(若 await 拿到了 enemy 且已停战,直接 hide 不注册)——双保险

为什么这样对:停战窗口(Shop/LevelUp)期间本就不该有任何敌人,所以"停战期间出生的敌人一律 hide"在语义上完全正确,且不受 await 同步抽空、id 复用、加载时序任何影响。
2026-06-26 13:53:36 +08:00
basil c111170bb0 清理项目目录并进行一次打包验证 2026-06-25 20:47:15 +08:00
basil cc8982b131 推进计时器逻辑的集中管理
- 将敌人的攻击计时任务放到基类中进行创建
- 将 EnemySpawnScheduler 敌人生成调度器的刷怪计时任务迁移到 TimerComponent
2026-06-23 20:42:24 +08:00
basil 846e4d6f44 将 Weapon 攻击冷却计时器 由 Weapon 内部维护迁移到 TimerModule 维护 2026-06-18 23:23:29 +08:00
basil 25f36d38c9 将 Enemy 攻击冷却计时器 由 Enemy 内部维护迁移到 TimerModule 维护 2026-06-18 23:09:44 +08:00
basil 0dc5889417 导入 TimerModule 计时器模块 2026-06-18 22:50:46 +08:00
basil fbc7e66491 Delete ObjectBase.meta 2026-06-18 22:39:32 +08:00
basil 000984c676 refactor(EnemyManager): 性能优化与并发安全修复
- EnemyRegistry: 移除List冗余存储, Register/Remove从O(n)→O(1)
- 增加PruneInvalidEntries显式清理接口, 消除TryGet副作用
- Remove增加不存在告警, 防重复减成负数
- 增加CTS取消飞行中的异步生成, 关卡切换时取消+重建
- ClearEnemies先快照再遍历, 防Hide回调修改集合抛异常
- entityId去掉取模复用, 直接自增保证唯一
- Enemy EntityGroup调优: Capacity→10000, ReleaseInterval→30, ExpireTime→120
2026-06-18 17:06:10 +08:00
basil 49c300a10e Update EnemyManagerComponent.cs 2026-06-18 15:59:06 +08:00
basil 38849f5019 从 EnemyManager 里拆分出敌人的生成 2026-06-18 15:40:00 +08:00
basil 921193f469 从 EnemyManager 里拆分出敌人的注册/管理/查询功能 2026-06-18 15:33:36 +08:00
basil b6a13b18fc 从 EnemyManager 中拆分刷怪位置策略接口 2026-06-18 15:25:04 +08:00
basil 43f81c8926 将 ShopController 构建 Context 的功能迁移到 partial class 里,并调整了部分构建逻辑 2026-06-17 11:57:46 +08:00
basil 44f6729c1a 重构:调整目录结构和文件所属目录 2026-06-17 10:07:23 +08:00
basil 5c3b87ab3f 重构:统一 UI 模块目录结构规范
- 事件命名规范化:RefreshEventArgs → LevelUpRefreshEventArgs
- LevelUp 子组件目录调整:LevelUpRewardItem + LevelUpRewardItemContext 移动到 LevelUp/
- Shop 子组件目录调整:DisplayItem/DisplayListArea/GoodsItem/ShopGoodsItem 及其 Context/RawData 全部移动到 Shop/
- 删除冗余文件:LevelUpRewardItemRawData(从未被使用)
- 新增 ObjectPool 目录结构
- 更新 LevelUpController 和 LevelUpForm 中的事件引用
2026-06-17 09:50:47 +08:00
basil c30b256d7a 重构:修复 Shop 与 ItemTooltip 跨模块事件边界问题
- 将 _tooltipLocked 状态从 ItemTooltipController 移到 ShopController 维护
- DisplayItem 只发 Shop 模块 UI 事件(Hover/Lock/Hide)
- ItemTooltipForm 取消按钮发 ItemTooltip 模块事件自关闭
- ShopController 通过 UIRouter 跨模块控制 ItemTooltipForm
- 移除 DisplayItemHideEventArgs 的 Force 字段,分离两种关闭场景
2026-06-17 09:37:44 +08:00
basil 2590f31250 将原来遗漏的脚本文件夹改名为正确的 DisplayItemInfo -> ItemTooltip 2026-06-16 22:59:08 +08:00
basil 2ceaf1bcfe Merge branch 'main' of https://gitea.sepcomet.xyz/basil/vampire-like 2026-06-16 17:09:31 +08:00
SepComet 9049af7966 将 DisplayItemInfoForm 更名为 ItemTooltipForm 2026-06-16 17:09:21 +08:00
SepComet 1fe2f31ede 对 DisplayItemInfoForm 按 5 层 UI 规范做结构整理
- 删除无用的 DisplayItemInfoUseCase,转为轻量 UI(Controller + Context + View)
- RawData 类型安全:object Data 拆分为 WeaponData + PropItem
- View 事件规范:回收按钮改用 UI 专用事件,由 Controller 通过回调转发
- 简化 _locked 状态管理,统一在 CloseUIAsync 中清理
2026-06-16 17:09:21 +08:00
SepComet 68b9f98e0e 修复 CommonButton 导航功能失效的问题并重新绑定 UI 事件引用 2026-06-16 17:09:21 +08:00
SepComet 508d8352b2 合并 MenuForm 的 6 个按钮事件为 MenuButtonClickEventArgs
新增 MenuButtonId 枚举区分按钮来源,MenuController 改为单订阅 + switch 分派,删除 Menu{StartGame,File,Guide,Setting,Quit,About}EventArgs 及其 meta。MenuForm 的 OnXxxButtonClick 方法名按 prefab 反射绑定保留,仅薄薄转发到统一事件。
2026-06-16 17:09:21 +08:00
SepComet 11621ee1c9 为随机角色卡补 hover 反向链路
新增 SelectRoleClearEventArgs:hover 随机卡时清空选中状态,让上方属性区回到 _randomRoleCard。

- SelectRoleForm.OnRandomHoverEnter 上报事件
- SelectRoleUseCase.ClearSelection 重置 SelectedRoleId 并重建 RawData
- SelectRoleController 订阅事件并刷新 Context
- SelectRoleForm.prefab 随机卡 _onPointerEnterAction 绑定新方法
2026-06-16 17:09:21 +08:00
SepComet 0fb4ff01f9 重构随机角色卡交互并清理 SelectRoleForm 视图层
按 5 层 UI 规范的 §3.5(View 只消费 Context、不内嵌业务/数据筛选) 对 SelectRoleForm 视图侧做一轮收敛,顺带把"随机角色卡"与"角色槽"在结构层面分离,让 prefab 不再依赖 GetComponentsInChildren 顺序来跳过随机卡上的 RoleItem 占位。

RoleItem:
- UpdateShowRole() → OnHoverEnter()。原方法名与 Form/Controller 上曾经存在的 UpdateShowRole 同名,但语义完全不同(后者是切换属性卡显示,这里是上报 hover 事件),改名消除歧义,与 prefab 上 PointerEnter 绑定的实际语义对齐。
- 补 _context == null 早退,不再把 RoleId = -1 的"伪 hover"上报到下游、依赖 UseCase 端的哨兵兜底。

SelectRoleForm:
- 新增 OnRandomConfirmClick(),给随机角色卡的 CommonButton 提供独立的 Click 入口,直接发 SelectRoleConfirmEventArgs,不再借 RoleItem.OnConfirmRoleClick 这条路径。
- RefreshUI 由 while + 双下标(itemIndex / roleIndex 同步推进、itemIndex 起步为 1 跳过随机卡上的 RoleItem 占位)收成单下标 for,起步下标恢复 0;槽位不足时 OnReset 放在 SetActive(false) 之前,语义顺序更自然。
- 清掉未使用的 using System。
2026-06-16 17:09:21 +08:00
SepComet c5335078df 对 SelectRoleController 按 5 层 UI 规范的做一轮残留清理
死方法清理:
-删除SelectRoleController.UpdateShowRole(RolePropertyAreaContext)。该方法没有任何调用方:hover 切换走 OnSelectRoleHoverAsync 全量重建 RawData / Context,SelectRoleForm.prefab 上的 "UpdateShowRole" 绑定指向 RoleItem.UpdateShowRole(),与 Controller 同名方法无关。
- 同步把 SelectRoleForm.UpdateShowRole(bool, RolePropertyAreaContext) 收为 private,只保留 RefreshUI 内部调用入口。

日志 tag 修正:
- BindUseCase 的 Log.Error tag 由 "SelectRoleUseCase.BindUseCase()" 改回 "SelectRoleController.BindUseCase()"。
- OnSelectRoleHoverAsync 的 Log.Error tag 由 "SelectRoleController.OnMenuSelectRoleSelected()" 改为 "SelectRoleController.OnSelectRoleHoverAsync()",与方法名对齐。

handler 命名收敛(§6.3):
- OnMenuSelectRoleConfirm → OnSelectRoleConfirm,订阅 / 解订阅 /方法体内日志 tag 全部同步,与 OnSelectRoleReturn / OnSelectRoleHover 命名一致。

风格统一:
- OnSelectRoleReturn 的 sender 校验改为 IsCurrentFormEventSender,与 Hover / Confirm 路径保持一致;原先的窄校验 (sender is SelectRoleForm && sender == Form)语义不变,只是不再让两套写法并存。
- OpenUIAsync(SelectRoleRawData, float) 返回值由 UniTask<int?> 简化为 UniTask:全代码无人消费 serialId,基类抽象签名也是 UniTask,这条便利入口跟着对齐。
2026-06-16 17:09:20 +08:00
SepComet aca311dd60 5 层 UI 规范收敛 SelectRoleForm 的 RawData / Context
围绕规范 §3.2 / §3.4 / §8 整理 SelectRoleForm 的数据传输与展示模型,让两层各自只承担规范允许的职责,并把子组件归位到模块目录内。

RawData层:
- RolePropertyAreaRawData 移除展示串 InitialPropertyText,改为业务字段 StatModifier[] InitialProperties,并补回 RoleId,避免 RawData 携带已格式化的展示文本(违反 §3.2)。
- SelectRoleRawData 拆掉平铺的 RoleIds / RoleIconNames 平行数组与 SelectedRoleId / SelectedRoleName / SelectedRoleInitialProperties 哨兵字段,聚合为 RoleItemRawData[] RoleItems 与 RolePropertyAreaRawData SelectedRole(null 表示未选中),跟 Context 端的子结构形态对称。
- SelectRoleUseCase.BuildModel 同步改造为构造子 RawData,不再处理 -1 哨兵 ID。

Context 层:
- 删除 SelectRoleContext.RoleIds 冗余字段(信息已由 RoleItemContexts[i].RoleId 承载)。
- 新增 bool ShowRoleProperty,把"显示属性卡 vs 显示随机卡"从 RolePropertyAreaContext == null 的隐式哨兵改成显式信号;Form 端 UpdateShowRole 改为读 ShowRoleProperty 切换卡片,不再用 null 当三态信号。
- Controller.BuildContext 用 rawData.SelectedRole != null 取代 >= 0 判定,InitialPropertyText 仍由 Controller 通过 ItemDescUtility.CreatePropDescription 拼装后注入 Context。

目录归属
事件命名
2026-06-16 17:09:20 +08:00
SepComet d2ce741a37 按 UI 五层规范重构 SelectRoleForm 并整理事件目录
- SelectRoleForm 五层归位:UseCase 改为构造注入 IProcedureMenu(新增 Runtime/ProcedureInterface),RawData 暴露原始 StatModifier[] 而非展示串,Controller 复用 ItemDescUtility 拼装属性文本,并修复 OpenUIAsync(object) 合法 RawData 分支缺少 return 的误报路径
- StatModifier 去展示职责:删除 _statTypeNames / ToString,富文本格式化下沉到 Presentation 层的 ItemDescUtility.Describe(StatModifier),CreatePropDescription 改用统一入口
  - 事件目录按 UIForm 归档:Base/Event/UI/Menu/* 拆解到 SelectRoleForm/ MenuForm/ DialogForm/ DisplayItemInfoForm/ Combat/ 等各自子目录,MenuSelectRoleReturnEventArgs 改名 SelectRoleReturnEventArgs,语义归属本 UI 模块
- IUIFormController → IUIController 改名,联动 UIControllerBase / UIRouterComponent / Editor
- 同步更新 docs/UI-5层架构设计规范.md 中相关示例与 MenuForm.prefab、ProcedureMenu 引用
2026-06-16 17:09:20 +08:00
SepComet 1cd3936f49 接入菜单导航并改造通用按钮交互
- 将 CommonButton 改为基于 Unity Button 实现,保留原有 pointer enter、click、pointer exit 三类事件配置,同时接入 Selectable/Button 的导航、选中和提交能力。补充 CommonButton 自定义 Inspector,保留项目自定义事件与背景配置的编辑体验。

- 同步调整菜单相关 UI,将 StartMenuForm 迁移为 MenuForm,并更新 UIForm 配置、菜单 Controller/Form 以及相关 prefab 引用。更新多个 UI prefab 和通用按钮 prefab,使菜单、商店、角色选择、道具展示等界面能够使用新的按钮选中与导航交互。
2026-06-16 17:09:20 +08:00
SepComet 21d0b410b6 接入 Hud 输入提示并完善 InputModule 提示映射 2026-06-16 17:09:20 +08:00
basil e5630f0896 扩充道具系统并统一图标命名规范
- 为 20 个道具赋予中文名称(铁护腕、狂战士药剂等)
- 移除数据表 IconAssetName 列,改为按 `类型_{id}_icon`
  的命名约定自动推导图标路径
- 清理旧图标资源(Almighty_Icon、172 系列)
- 同步更新各数据表 Excel 源文件
2026-06-16 17:09:20 +08:00
SepComet db481ae0a8 引入 Cinemachine 和 CameraModule,添加摄像机跟随缓动效果 2026-06-16 17:09:19 +08:00
SepComet 649930c666 扩充游戏内容,保持敌人基本行为不变,使用缩放和颜色区分不同敌人 2026-06-16 17:09:19 +08:00
SepComet 29c4468d54 清理项目目录,引入 InputModule 做多平台输入适配 2026-06-16 17:09:19 +08:00
SepComet d28ccaa7f9 迁移 Coin/Exp/Projectile/Effect 实体的生成路径 2026-06-16 17:09:19 +08:00
SepComet 734f2cd5af 调整 EnemyManagerComponent 部分逻辑到异步操作 2026-06-16 17:09:19 +08:00
SepComet 0bab6ecbc5 迁移 Player/ProcedureGame/ShopUseCase 里的实体方法调用风格
- Player/ShopUseCase:调整了 Weapon 实体的打开方式
- ProcedureGame:调整初始化时的 Hud 和 Player 的初始化写法,流程更清楚
2026-06-16 17:09:19 +08:00
SepComet a721670b36 Update EntityAsyncExtension.cs
为 EntityAsyncExtension 添加了便利的打开各类实体的方法
2026-06-16 17:09:19 +08:00
SepComet 3b61e263cc 调整 UIRouter 的打开关闭 UI 的返回值,统一成 UniTask 2026-06-16 17:09:19 +08:00
SepComet fbb9e1e068 Update AsyncTaskHelper.cs
- WaitEventAsync<T>() 增加可选 CancellationToken
- WaitSuccessOrFailureAsync<TSuccess, TFailure>() 增加可选 CancellationToken
- 保持现有调用兼容:原来的参数顺序和默认行为不变
- 抽出统一完成/清理逻辑:
    - 成功
    - 失败
    - 超时
    - 取消

- 防止重复完成导致重复 Unsubscribe
- 超时任务在事件完成后会被取消,避免后台 delay 继续跑
- 取消时会反订阅事件,适合后续 Procedure 生命周期迁移
2026-06-16 17:09:19 +08:00
basil 170ea690b2 调整 SpriteCache 的读取资源方式
将原来 UGF 事件回调风格的调用改成使用 UniTask 的异步操作
2026-06-16 17:08:06 +08:00
SepComet 44498e5859 将 DisplayItemInfoForm 更名为 ItemTooltipForm 2026-06-15 11:23:44 +08:00
SepComet bba17bbac2 对 DisplayItemInfoForm 按 5 层 UI 规范做结构整理
- 删除无用的 DisplayItemInfoUseCase,转为轻量 UI(Controller + Context + View)
- RawData 类型安全:object Data 拆分为 WeaponData + PropItem
- View 事件规范:回收按钮改用 UI 专用事件,由 Controller 通过回调转发
- 简化 _locked 状态管理,统一在 CloseUIAsync 中清理
2026-06-15 11:03:31 +08:00
SepComet 9dd4f57e6a 修复 CommonButton 导航功能失效的问题并重新绑定 UI 事件引用 2026-06-15 09:59:28 +08:00
SepComet 9c51f551c4 合并 MenuForm 的 6 个按钮事件为 MenuButtonClickEventArgs
新增 MenuButtonId 枚举区分按钮来源,MenuController 改为单订阅 + switch 分派,删除 Menu{StartGame,File,Guide,Setting,Quit,About}EventArgs 及其 meta。MenuForm 的 OnXxxButtonClick 方法名按 prefab 反射绑定保留,仅薄薄转发到统一事件。
2026-06-14 17:38:01 +08:00
SepComet 4fe75fc8c6 为随机角色卡补 hover 反向链路
新增 SelectRoleClearEventArgs:hover 随机卡时清空选中状态,让上方属性区回到 _randomRoleCard。

- SelectRoleForm.OnRandomHoverEnter 上报事件
- SelectRoleUseCase.ClearSelection 重置 SelectedRoleId 并重建 RawData
- SelectRoleController 订阅事件并刷新 Context
- SelectRoleForm.prefab 随机卡 _onPointerEnterAction 绑定新方法
2026-06-14 17:25:20 +08:00
SepComet 37b33c65f0 重构随机角色卡交互并清理 SelectRoleForm 视图层
按 5 层 UI 规范的 §3.5(View 只消费 Context、不内嵌业务/数据筛选) 对 SelectRoleForm 视图侧做一轮收敛,顺带把"随机角色卡"与"角色槽"在结构层面分离,让 prefab 不再依赖 GetComponentsInChildren 顺序来跳过随机卡上的 RoleItem 占位。

RoleItem:
- UpdateShowRole() → OnHoverEnter()。原方法名与 Form/Controller 上曾经存在的 UpdateShowRole 同名,但语义完全不同(后者是切换属性卡显示,这里是上报 hover 事件),改名消除歧义,与 prefab 上 PointerEnter 绑定的实际语义对齐。
- 补 _context == null 早退,不再把 RoleId = -1 的"伪 hover"上报到下游、依赖 UseCase 端的哨兵兜底。

SelectRoleForm:
- 新增 OnRandomConfirmClick(),给随机角色卡的 CommonButton 提供独立的 Click 入口,直接发 SelectRoleConfirmEventArgs,不再借 RoleItem.OnConfirmRoleClick 这条路径。
- RefreshUI 由 while + 双下标(itemIndex / roleIndex 同步推进、itemIndex 起步为 1 跳过随机卡上的 RoleItem 占位)收成单下标 for,起步下标恢复 0;槽位不足时 OnReset 放在 SetActive(false) 之前,语义顺序更自然。
- 清掉未使用的 using System。
2026-06-14 17:08:53 +08:00
SepComet 7360299fcd 对 SelectRoleController 按 5 层 UI 规范的做一轮残留清理
死方法清理:
-删除SelectRoleController.UpdateShowRole(RolePropertyAreaContext)。该方法没有任何调用方:hover 切换走 OnSelectRoleHoverAsync 全量重建 RawData / Context,SelectRoleForm.prefab 上的 "UpdateShowRole" 绑定指向 RoleItem.UpdateShowRole(),与 Controller 同名方法无关。
- 同步把 SelectRoleForm.UpdateShowRole(bool, RolePropertyAreaContext) 收为 private,只保留 RefreshUI 内部调用入口。

日志 tag 修正:
- BindUseCase 的 Log.Error tag 由 "SelectRoleUseCase.BindUseCase()" 改回 "SelectRoleController.BindUseCase()"。
- OnSelectRoleHoverAsync 的 Log.Error tag 由 "SelectRoleController.OnMenuSelectRoleSelected()" 改为 "SelectRoleController.OnSelectRoleHoverAsync()",与方法名对齐。

handler 命名收敛(§6.3):
- OnMenuSelectRoleConfirm → OnSelectRoleConfirm,订阅 / 解订阅 /方法体内日志 tag 全部同步,与 OnSelectRoleReturn / OnSelectRoleHover 命名一致。

风格统一:
- OnSelectRoleReturn 的 sender 校验改为 IsCurrentFormEventSender,与 Hover / Confirm 路径保持一致;原先的窄校验 (sender is SelectRoleForm && sender == Form)语义不变,只是不再让两套写法并存。
- OpenUIAsync(SelectRoleRawData, float) 返回值由 UniTask<int?> 简化为 UniTask:全代码无人消费 serialId,基类抽象签名也是 UniTask,这条便利入口跟着对齐。
2026-06-14 14:53:11 +08:00
SepComet 7df1d15efc 5 层 UI 规范收敛 SelectRoleForm 的 RawData / Context
围绕规范 §3.2 / §3.4 / §8 整理 SelectRoleForm 的数据传输与展示模型,让两层各自只承担规范允许的职责,并把子组件归位到模块目录内。

RawData层:
- RolePropertyAreaRawData 移除展示串 InitialPropertyText,改为业务字段 StatModifier[] InitialProperties,并补回 RoleId,避免 RawData 携带已格式化的展示文本(违反 §3.2)。
- SelectRoleRawData 拆掉平铺的 RoleIds / RoleIconNames 平行数组与 SelectedRoleId / SelectedRoleName / SelectedRoleInitialProperties 哨兵字段,聚合为 RoleItemRawData[] RoleItems 与 RolePropertyAreaRawData SelectedRole(null 表示未选中),跟 Context 端的子结构形态对称。
- SelectRoleUseCase.BuildModel 同步改造为构造子 RawData,不再处理 -1 哨兵 ID。

Context 层:
- 删除 SelectRoleContext.RoleIds 冗余字段(信息已由 RoleItemContexts[i].RoleId 承载)。
- 新增 bool ShowRoleProperty,把"显示属性卡 vs 显示随机卡"从 RolePropertyAreaContext == null 的隐式哨兵改成显式信号;Form 端 UpdateShowRole 改为读 ShowRoleProperty 切换卡片,不再用 null 当三态信号。
- Controller.BuildContext 用 rawData.SelectedRole != null 取代 >= 0 判定,InitialPropertyText 仍由 Controller 通过 ItemDescUtility.CreatePropDescription 拼装后注入 Context。

目录归属
事件命名
2026-06-14 14:33:56 +08:00
SepComet 8cf3802b9d 按 UI 五层规范重构 SelectRoleForm 并整理事件目录
- SelectRoleForm 五层归位:UseCase 改为构造注入 IProcedureMenu(新增 Runtime/ProcedureInterface),RawData 暴露原始 StatModifier[] 而非展示串,Controller 复用 ItemDescUtility 拼装属性文本,并修复 OpenUIAsync(object) 合法 RawData 分支缺少 return 的误报路径
- StatModifier 去展示职责:删除 _statTypeNames / ToString,富文本格式化下沉到 Presentation 层的 ItemDescUtility.Describe(StatModifier),CreatePropDescription 改用统一入口
  - 事件目录按 UIForm 归档:Base/Event/UI/Menu/* 拆解到 SelectRoleForm/ MenuForm/ DialogForm/ DisplayItemInfoForm/ Combat/ 等各自子目录,MenuSelectRoleReturnEventArgs 改名 SelectRoleReturnEventArgs,语义归属本 UI 模块
- IUIFormController → IUIController 改名,联动 UIControllerBase / UIRouterComponent / Editor
- 同步更新 docs/UI-5层架构设计规范.md 中相关示例与 MenuForm.prefab、ProcedureMenu 引用
2026-06-14 13:19:12 +08:00
SepComet dec18418f5 接入菜单导航并改造通用按钮交互
- 将 CommonButton 改为基于 Unity Button 实现,保留原有 pointer enter、click、pointer exit 三类事件配置,同时接入 Selectable/Button 的导航、选中和提交能力。补充 CommonButton 自定义 Inspector,保留项目自定义事件与背景配置的编辑体验。

- 同步调整菜单相关 UI,将 StartMenuForm 迁移为 MenuForm,并更新 UIForm 配置、菜单 Controller/Form 以及相关 prefab 引用。更新多个 UI prefab 和通用按钮 prefab,使菜单、商店、角色选择、道具展示等界面能够使用新的按钮选中与导航交互。
2026-06-12 17:23:34 +08:00
SepComet 024ec7be99 接入 Hud 输入提示并完善 InputModule 提示映射 2026-06-12 14:59:16 +08:00
basil a2cd3ab7e7 扩充道具系统并统一图标命名规范
- 为 20 个道具赋予中文名称(铁护腕、狂战士药剂等)
- 移除数据表 IconAssetName 列,改为按 `类型_{id}_icon`
  的命名约定自动推导图标路径
- 清理旧图标资源(Almighty_Icon、172 系列)
- 同步更新各数据表 Excel 源文件
2026-06-10 17:26:59 +08:00
SepComet 7a3a2cf17b 引入 Cinemachine 和 CameraModule,添加摄像机跟随缓动效果 2026-06-10 09:55:57 +08:00
SepComet ee69efe965 扩充游戏内容,保持敌人基本行为不变,使用缩放和颜色区分不同敌人 2026-06-10 08:49:16 +08:00
SepComet 5ede6846db 清理项目目录,引入 InputModule 做多平台输入适配 2026-06-06 16:35:39 +08:00
SepComet c8c26b8b2e 迁移 Coin/Exp/Projectile/Effect 实体的生成路径 2026-06-06 15:13:52 +08:00
SepComet 4790bd0091 调整 EnemyManagerComponent 部分逻辑到异步操作 2026-06-06 14:57:08 +08:00
SepComet 41ff2c6df8 迁移 Player/ProcedureGame/ShopUseCase 里的实体方法调用风格
- Player/ShopUseCase:调整了 Weapon 实体的打开方式
- ProcedureGame:调整初始化时的 Hud 和 Player 的初始化写法,流程更清楚
2026-06-06 14:12:05 +08:00
SepComet f896a4a9c8 Update EntityAsyncExtension.cs
为 EntityAsyncExtension 添加了便利的打开各类实体的方法
2026-06-06 13:40:59 +08:00
SepComet 788f717335 调整 UIRouter 的打开关闭 UI 的返回值,统一成 UniTask 2026-06-06 13:33:33 +08:00
SepComet 7ac38cd999 Update AsyncTaskHelper.cs
- WaitEventAsync<T>() 增加可选 CancellationToken
- WaitSuccessOrFailureAsync<TSuccess, TFailure>() 增加可选 CancellationToken
- 保持现有调用兼容:原来的参数顺序和默认行为不变
- 抽出统一完成/清理逻辑:
    - 成功
    - 失败
    - 超时
    - 取消

- 防止重复完成导致重复 Unsubscribe
- 超时任务在事件完成后会被取消,避免后台 delay 继续跑
- 取消时会反订阅事件,适合后续 Procedure 生命周期迁移
2026-06-06 13:20:20 +08:00
SepComet 2a0cbc8f0e 调整 SpriteCache 的读取资源方式
将原来 UGF 事件回调风格的调用改成使用 UniTask 的异步操作
2026-06-04 22:37:55 +08:00
basil 117dd123de Merge pull request 'refactor-assembly' (#1) from refactor-assembly into GPU-Instancing
Reviewed-on: #1
2026-06-04 22:25:23 +08:00
SepComet 1bbfd84644 Update Launcher.unity 2026-06-04 17:10:12 +08:00
1466 changed files with 90695 additions and 24460 deletions
+109
View File
@@ -0,0 +1,109 @@
---
name: code-hygiene
description: >-
Inspect and clean up code in the Seek-Battle-Evacuate (SBE) project according to AGENTS.md
null-checking rules, error handling specifications, and anti-defensive programming guidelines.
Use this skill whenever the user asks to format code per AGENTS.md, clean up redundant null checks,
remove over-defensive fallbacks, or review code hygiene.
---
# SBE Code Hygiene & Defensive Cleanup
本技能用于规范 SBE 项目中的 C# 代码质量,消除过度防御(Over-Defensive Programming)、冗余判空与静默吞错,严格对齐 `AGENTS.md` 规范与敏捷“Fail Fast”(快速失败)原则。
---
## 一、三项核心红线(AGENTS.md 必须遵守)
1. **声明处已初始化的变量,之后绝对不判空**
- 坏:字段或局部变量已有 `= new List<T>()` / `= new Dictionary<...>()`,后续还写 `if (_list != null)`。
- 好:直接使用 `_list.Add(...)`、`_list.Clear()`。
2. **严禁静态兜底与静默回退(Fail Fast 原则)**
- 坏:找不到数据、缺少配置或解析异常时,返回硬编码默认值(如 `global != null ? global.Time : 250` 或 `if (cfg == null) return 10;`)。
- 好:异常路径直接 `Log.Error(...)` 报错并中断执行(`return` / 抛异常),绝不用伪造数据让程序带病运行。
3. **UI 序列化字段与 View 自动绑定字段不做判空**
- 坏:`if (View != null && View.sortButton != null)`、`[SerializeField] private Button _btn; ... if (_btn != null)`。
- 好:默认信任 Inspector 和 `UIAssetsTools` 自动绑定。若没绑定本应报错暴露,不加空防御掩盖。
---
## 二、六项常见“没必要”的过度防御与坏味道
在 Unity / UGF / C# 实际开发中,以下写法通常是冗余、降低代码可读性且增加维护负担的:
### 1. 集合遍历前的非空/长度双重检查
- **没必要**:
```csharp
if (list != null && list.Count > 0)
{
foreach (var item in list) { ... }
}
```
- **原则**:若列表规范为非空对象(即使为空也是包含 0 个元素的空列表),`foreach` 会自动直接跳过,根本无需任何 `if` 守卫:
```csharp
foreach (var item in list) { ... }
```
### 2. LINQ 与内建构造返回值的非空检查
- **没必要**:
```csharp
var results = items.Where(x => x.Active).ToList();
if (results != null) { ... } // ToList() 永远返回新 List 实例,永不为 null
```
- **原则**:直接使用 LINQ 投影/转换结果。
### 3. 内部私有辅助方法的层层重复防御
- **没必要**:公有入口方法已经做了入参断言/校验,拆分出来的内部私有方法 `private void ApplyCore(Item item)` 每一层都再写一遍 `if (item == null) return;`。
- **原则**:私有方法属于内部信任边界,保持干净直白,将校验集中在业务入口。
### 4. 字典的双重查找(Double Lookup)
- **没必要**:
```csharp
if (_dict.ContainsKey(key))
{
var val = _dict[key];
...
}
```
- **原则**:统一使用 `TryGetValue`,减少一次哈希哈希计算与冗余判断:
```csharp
if (_dict.TryGetValue(key, out var val))
{
...
}
```
### 5. 静默吞异常的空 Try-Catch
- **没必要**:
```csharp
try { DoSomething(); }
catch (Exception) { /* 留空,或者只 Log.Warning 假装没事 */ }
```
- **原则**:非预期异常必须 `Log.Error(...)` 暴露上下文并附带具体错误信息,绝不能掩盖致命逻辑错误或数据存盘缺失。
### 6. MonoBehaviour/实例方法内的自我判空
- **没必要**:在普通实例方法内部写 `if (this == null)`,或对由 Unity 生命周期保证的对象进行反复探测。
- **原则**:信任正常的组件调用生命周期。
---
## 三、代码排查与清理步骤(Runbook)
当用户发出整理请求时,按以下流程执行:
1. **识别范围**:
- 检查 `git status` 涉及修改的文件,或针对用户指定的代码文件。
2. **逐项审查**:
- [ ] 检查是否有 `[SerializeField]`、`View.xxx` 的判空,有则移除。
- [ ] 检查声明处赋值(如 `= new ...`)字段的二次判空,有则移除。
- [ ] 检查是否有配置读取、存档读取的三元默认值回退(`?:` 魔法数字),改为 `Log.Error` 并中断。
- [ ] 检查 `foreach` 外层是否有冗余的 `if (list != null && list.Count > 0)` 嵌套,若列表非空则拍平。
- [ ] 检查是否有空 `catch` 吞错。
3. **推演逻辑边界(静态检查)**:
- 确认移除防御后不会导致不可预知的崩溃;
- 确认异常路径是否确实按规范输出了 `Log.Error`。
4. **汇报改动**:
- 列出修改的文件路径;
- 简要说明移除了哪些冗余防御或规范了哪些异常断言。
-152
View File
@@ -1,152 +0,0 @@
---
name: "OPSX: Apply"
description: Implement tasks from an OpenSpec change (Experimental)
category: Workflow
tags: [workflow, artifacts, experimental]
---
Implement tasks from an OpenSpec change.
**Input**: Optionally specify a change name (e.g., `/opsx:apply add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
**Steps**
1. **Select the change**
If a name is provided, use it. Otherwise:
- Infer from conversation context if the user mentioned a change
- Auto-select if only one active change exists
- If ambiguous, run `openspec list --json` to get available changes and use the **AskUserQuestion tool** to let the user select
Always announce: "Using change: <name>" and how to override (e.g., `/opsx:apply <other>`).
2. **Check status to understand the schema**
```bash
openspec status --change "<name>" --json
```
Parse the JSON to understand:
- `schemaName`: The workflow being used (e.g., "spec-driven")
- Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
3. **Get apply instructions**
```bash
openspec instructions apply --change "<name>" --json
```
This returns:
- Context file paths (varies by schema)
- Progress (total, complete, remaining)
- Task list with status
- Dynamic instruction based on current state
**Handle states:**
- If `state: "blocked"` (missing artifacts): show message, suggest using `/opsx:continue`
- If `state: "all_done"`: congratulate, suggest archive
- Otherwise: proceed to implementation
4. **Read context files**
Read the files listed in `contextFiles` from the apply instructions output.
The files depend on the schema being used:
- **spec-driven**: proposal, specs, design, tasks
- Other schemas: follow the contextFiles from CLI output
5. **Show current progress**
Display:
- Schema being used
- Progress: "N/M tasks complete"
- Remaining tasks overview
- Dynamic instruction from CLI
6. **Implement tasks (loop until done or blocked)**
For each pending task:
- Show which task is being worked on
- Make the code changes required
- Keep changes minimal and focused
- Mark task complete in the tasks file: `- [ ]` → `- [x]`
- Continue to next task
**Pause if:**
- Task is unclear → ask for clarification
- Implementation reveals a design issue → suggest updating artifacts
- Error or blocker encountered → report and wait for guidance
- User interrupts
7. **On completion or pause, show status**
Display:
- Tasks completed this session
- Overall progress: "N/M tasks complete"
- If all done: suggest archive
- If paused: explain why and wait for guidance
**Output During Implementation**
```
## Implementing: <change-name> (schema: <schema-name>)
Working on task 3/7: <task description>
[...implementation happening...]
✓ Task complete
Working on task 4/7: <task description>
[...implementation happening...]
✓ Task complete
```
**Output On Completion**
```
## Implementation Complete
**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 7/7 tasks complete ✓
### Completed This Session
- [x] Task 1
- [x] Task 2
...
All tasks complete! You can archive this change with `/opsx:archive`.
```
**Output On Pause (Issue Encountered)**
```
## Implementation Paused
**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 4/7 tasks complete
### Issue Encountered
<description of the issue>
**Options:**
1. <option 1>
2. <option 2>
3. Other approach
What would you like to do?
```
**Guardrails**
- Keep going through tasks until done or blocked
- Always read context files before starting (from the apply instructions output)
- If task is ambiguous, pause and ask before implementing
- If implementation reveals issues, pause and suggest artifact updates
- Keep code changes minimal and scoped to each task
- Update task checkbox immediately after completing each task
- Pause on errors, blockers, or unclear requirements - don't guess
- Use contextFiles from CLI output, don't assume specific file names
**Fluid Workflow Integration**
This skill supports the "actions on a change" model:
- **Can be invoked anytime**: Before all artifacts are done (if tasks exist), after partial implementation, interleaved with other actions
- **Allows artifact updates**: If implementation reveals design issues, suggest updating artifacts - not phase-locked, work fluidly
-157
View File
@@ -1,157 +0,0 @@
---
name: "OPSX: Archive"
description: Archive a completed change in the experimental workflow
category: Workflow
tags: [workflow, archive, experimental]
---
Archive a completed change in the experimental workflow.
**Input**: Optionally specify a change name after `/opsx:archive` (e.g., `/opsx:archive add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
**Steps**
1. **If no change name provided, prompt for selection**
Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
Show only active changes (not already archived).
Include the schema used for each change if available.
**IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
2. **Check artifact completion status**
Run `openspec status --change "<name>" --json` to check artifact completion.
Parse the JSON to understand:
- `schemaName`: The workflow being used
- `artifacts`: List of artifacts with their status (`done` or other)
**If any artifacts are not `done`:**
- Display warning listing incomplete artifacts
- Prompt user for confirmation to continue
- Proceed if user confirms
3. **Check task completion status**
Read the tasks file (typically `tasks.md`) to check for incomplete tasks.
Count tasks marked with `- [ ]` (incomplete) vs `- [x]` (complete).
**If incomplete tasks found:**
- Display warning showing count of incomplete tasks
- Prompt user for confirmation to continue
- Proceed if user confirms
**If no tasks file exists:** Proceed without task-related warning.
4. **Assess delta spec sync state**
Check for delta specs at `openspec/changes/<name>/specs/`. If none exist, proceed without sync prompt.
**If delta specs exist:**
- Compare each delta spec with its corresponding main spec at `openspec/specs/<capability>/spec.md`
- Determine what changes would be applied (adds, modifications, removals, renames)
- Show a combined summary before prompting
**Prompt options:**
- If changes needed: "Sync now (recommended)", "Archive without syncing"
- If already synced: "Archive now", "Sync anyway", "Cancel"
If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke openspec-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice.
5. **Perform the archive**
Create the archive directory if it doesn't exist:
```bash
mkdir -p openspec/changes/archive
```
Generate target name using current date: `YYYY-MM-DD-<change-name>`
**Check if target already exists:**
- If yes: Fail with error, suggest renaming existing archive or using different date
- If no: Move the change directory to archive
```bash
mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name>
```
6. **Display summary**
Show archive completion summary including:
- Change name
- Schema that was used
- Archive location
- Spec sync status (synced / sync skipped / no delta specs)
- Note about any warnings (incomplete artifacts/tasks)
**Output On Success**
```
## Archive Complete
**Change:** <change-name>
**Schema:** <schema-name>
**Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/
**Specs:** ✓ Synced to main specs
All artifacts complete. All tasks complete.
```
**Output On Success (No Delta Specs)**
```
## Archive Complete
**Change:** <change-name>
**Schema:** <schema-name>
**Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/
**Specs:** No delta specs
All artifacts complete. All tasks complete.
```
**Output On Success With Warnings**
```
## Archive Complete (with warnings)
**Change:** <change-name>
**Schema:** <schema-name>
**Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/
**Specs:** Sync skipped (user chose to skip)
**Warnings:**
- Archived with 2 incomplete artifacts
- Archived with 3 incomplete tasks
- Delta spec sync was skipped (user chose to skip)
Review the archive if this was not intentional.
```
**Output On Error (Archive Exists)**
```
## Archive Failed
**Change:** <change-name>
**Target:** openspec/changes/archive/YYYY-MM-DD-<name>/
Target archive directory already exists.
**Options:**
1. Rename the existing archive
2. Delete the existing archive if it's a duplicate
3. Wait until a different date to archive
```
**Guardrails**
- Always prompt for change selection if not provided
- Use artifact graph (openspec status --json) for completion checking
- Don't block archive on warnings - just inform and confirm
- Preserve .openspec.yaml when moving to archive (it moves with the directory)
- Show clear summary of what happened
- If sync is requested, use the Skill tool to invoke `openspec-sync-specs` (agent-driven)
- If delta specs exist, always run the sync assessment and show the combined summary before prompting
-173
View File
@@ -1,173 +0,0 @@
---
name: "OPSX: Explore"
description: "Enter explore mode - think through ideas, investigate problems, clarify requirements"
category: Workflow
tags: [workflow, explore, experimental, thinking]
---
Enter explore mode. Think deeply. Visualize freely. Follow the conversation wherever it goes.
**IMPORTANT: Explore mode is for thinking, not implementing.** You may read files, search code, and investigate the codebase, but you must NEVER write code or implement features. If the user asks you to implement something, remind them to exit explore mode first and create a change proposal. You MAY create OpenSpec artifacts (proposals, designs, specs) if the user asks—that's capturing thinking, not implementing.
**This is a stance, not a workflow.** There are no fixed steps, no required sequence, no mandatory outputs. You're a thinking partner helping the user explore.
**Input**: The argument after `/opsx:explore` is whatever the user wants to think about. Could be:
- A vague idea: "real-time collaboration"
- A specific problem: "the auth system is getting unwieldy"
- A change name: "add-dark-mode" (to explore in context of that change)
- A comparison: "postgres vs sqlite for this"
- Nothing (just enter explore mode)
---
## The Stance
- **Curious, not prescriptive** - Ask questions that emerge naturally, don't follow a script
- **Open threads, not interrogations** - Surface multiple interesting directions and let the user follow what resonates. Don't funnel them through a single path of questions.
- **Visual** - Use ASCII diagrams liberally when they'd help clarify thinking
- **Adaptive** - Follow interesting threads, pivot when new information emerges
- **Patient** - Don't rush to conclusions, let the shape of the problem emerge
- **Grounded** - Explore the actual codebase when relevant, don't just theorize
---
## What You Might Do
Depending on what the user brings, you might:
**Explore the problem space**
- Ask clarifying questions that emerge from what they said
- Challenge assumptions
- Reframe the problem
- Find analogies
**Investigate the codebase**
- Map existing architecture relevant to the discussion
- Find integration points
- Identify patterns already in use
- Surface hidden complexity
**Compare options**
- Brainstorm multiple approaches
- Build comparison tables
- Sketch tradeoffs
- Recommend a path (if asked)
**Visualize**
```
┌─────────────────────────────────────────┐
│ Use ASCII diagrams liberally │
├─────────────────────────────────────────┤
│ │
│ ┌────────┐ ┌────────┐ │
│ │ State │────────▶│ State │ │
│ │ A │ │ B │ │
│ └────────┘ └────────┘ │
│ │
│ System diagrams, state machines, │
│ data flows, architecture sketches, │
│ dependency graphs, comparison tables │
│ │
└─────────────────────────────────────────┘
```
**Surface risks and unknowns**
- Identify what could go wrong
- Find gaps in understanding
- Suggest spikes or investigations
---
## OpenSpec Awareness
You have full context of the OpenSpec system. Use it naturally, don't force it.
### Check for context
At the start, quickly check what exists:
```bash
openspec list --json
```
This tells you:
- If there are active changes
- Their names, schemas, and status
- What the user might be working on
If the user mentioned a specific change name, read its artifacts for context.
### When no change exists
Think freely. When insights crystallize, you might offer:
- "This feels solid enough to start a change. Want me to create a proposal?"
- Or keep exploring - no pressure to formalize
### When a change exists
If the user mentions a change or you detect one is relevant:
1. **Read existing artifacts for context**
- `openspec/changes/<name>/proposal.md`
- `openspec/changes/<name>/design.md`
- `openspec/changes/<name>/tasks.md`
- etc.
2. **Reference them naturally in conversation**
- "Your design mentions using Redis, but we just realized SQLite fits better..."
- "The proposal scopes this to premium users, but we're now thinking everyone..."
3. **Offer to capture when decisions are made**
| Insight Type | Where to Capture |
|--------------|------------------|
| New requirement discovered | `specs/<capability>/spec.md` |
| Requirement changed | `specs/<capability>/spec.md` |
| Design decision made | `design.md` |
| Scope changed | `proposal.md` |
| New work identified | `tasks.md` |
| Assumption invalidated | Relevant artifact |
Example offers:
- "That's a design decision. Capture it in design.md?"
- "This is a new requirement. Add it to specs?"
- "This changes scope. Update the proposal?"
4. **The user decides** - Offer and move on. Don't pressure. Don't auto-capture.
---
## What You Don't Have To Do
- Follow a script
- Ask the same questions every time
- Produce a specific artifact
- Reach a conclusion
- Stay on topic if a tangent is valuable
- Be brief (this is thinking time)
---
## Ending Discovery
There's no required ending. Discovery might:
- **Flow into a proposal**: "Ready to start? I can create a change proposal."
- **Result in artifact updates**: "Updated design.md with these decisions"
- **Just provide clarity**: User has what they need, moves on
- **Continue later**: "We can pick this up anytime"
When things crystallize, you might offer a summary - but it's optional. Sometimes the thinking IS the value.
---
## Guardrails
- **Don't implement** - Never write code or implement features. Creating OpenSpec artifacts is fine, writing application code is not.
- **Don't fake understanding** - If something is unclear, dig deeper
- **Don't rush** - Discovery is thinking time, not task time
- **Don't force structure** - Let patterns emerge naturally
- **Don't auto-capture** - Offer to save insights, don't just do it
- **Do visualize** - A good diagram is worth many paragraphs
- **Do explore the codebase** - Ground discussions in reality
- **Do question assumptions** - Including the user's and your own
-106
View File
@@ -1,106 +0,0 @@
---
name: "OPSX: Propose"
description: Propose a new change - create it and generate all artifacts in one step
category: Workflow
tags: [workflow, artifacts, experimental]
---
Propose a new change - create the change and generate all artifacts in one step.
I'll create a change with artifacts:
- proposal.md (what & why)
- design.md (how)
- tasks.md (implementation steps)
When ready to implement, run /opsx:apply
---
**Input**: The argument after `/opsx:propose` is the change name (kebab-case), OR a description of what the user wants to build.
**Steps**
1. **If no input provided, ask what they want to build**
Use the **AskUserQuestion tool** (open-ended, no preset options) to ask:
> "What change do you want to work on? Describe what you want to build or fix."
From their description, derive a kebab-case name (e.g., "add user authentication" → `add-user-auth`).
**IMPORTANT**: Do NOT proceed without understanding what the user wants to build.
2. **Create the change directory**
```bash
openspec new change "<name>"
```
This creates a scaffolded change at `openspec/changes/<name>/` with `.openspec.yaml`.
3. **Get the artifact build order**
```bash
openspec status --change "<name>" --json
```
Parse the JSON to get:
- `applyRequires`: array of artifact IDs needed before implementation (e.g., `["tasks"]`)
- `artifacts`: list of all artifacts with their status and dependencies
4. **Create artifacts in sequence until apply-ready**
Use the **TodoWrite tool** to track progress through the artifacts.
Loop through artifacts in dependency order (artifacts with no pending dependencies first):
a. **For each artifact that is `ready` (dependencies satisfied)**:
- Get instructions:
```bash
openspec instructions <artifact-id> --change "<name>" --json
```
- The instructions JSON includes:
- `context`: Project background (constraints for you - do NOT include in output)
- `rules`: Artifact-specific rules (constraints for you - do NOT include in output)
- `template`: The structure to use for your output file
- `instruction`: Schema-specific guidance for this artifact type
- `outputPath`: Where to write the artifact
- `dependencies`: Completed artifacts to read for context
- Read any completed dependency files for context
- Create the artifact file using `template` as the structure
- Apply `context` and `rules` as constraints - but do NOT copy them into the file
- Show brief progress: "Created <artifact-id>"
b. **Continue until all `applyRequires` artifacts are complete**
- After creating each artifact, re-run `openspec status --change "<name>" --json`
- Check if every artifact ID in `applyRequires` has `status: "done"` in the artifacts array
- Stop when all `applyRequires` artifacts are done
c. **If an artifact requires user input** (unclear context):
- Use **AskUserQuestion tool** to clarify
- Then continue with creation
5. **Show final status**
```bash
openspec status --change "<name>"
```
**Output**
After completing all artifacts, summarize:
- Change name and location
- List of artifacts created with brief descriptions
- What's ready: "All artifacts created! Ready for implementation."
- Prompt: "Run `/opsx:apply` to start implementing."
**Artifact Creation Guidelines**
- Follow the `instruction` field from `openspec instructions` for each artifact type
- The schema defines what each artifact should contain - follow it
- Read dependency artifacts for context before creating new ones
- Use `template` as the structure for your output file - fill in its sections
- **IMPORTANT**: `context` and `rules` are constraints for YOU, not content for the file
- Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifact
- These guide what you write, but should never appear in the output
**Guardrails**
- Create ALL artifacts needed for implementation (as defined by schema's `apply.requires`)
- Always read dependency artifacts before creating a new one
- If context is critically unclear, ask the user - but prefer making reasonable decisions to keep momentum
- If a change with that name already exists, ask if user wants to continue it or create a new one
- Verify each artifact file exists after writing before proceeding to next
@@ -1,156 +0,0 @@
---
name: openspec-apply-change
description: Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
license: MIT
compatibility: Requires openspec CLI.
metadata:
author: openspec
version: "1.0"
generatedBy: "1.2.0"
---
Implement tasks from an OpenSpec change.
**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
**Steps**
1. **Select the change**
If a name is provided, use it. Otherwise:
- Infer from conversation context if the user mentioned a change
- Auto-select if only one active change exists
- If ambiguous, run `openspec list --json` to get available changes and use the **AskUserQuestion tool** to let the user select
Always announce: "Using change: <name>" and how to override (e.g., `/opsx:apply <other>`).
2. **Check status to understand the schema**
```bash
openspec status --change "<name>" --json
```
Parse the JSON to understand:
- `schemaName`: The workflow being used (e.g., "spec-driven")
- Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
3. **Get apply instructions**
```bash
openspec instructions apply --change "<name>" --json
```
This returns:
- Context file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs)
- Progress (total, complete, remaining)
- Task list with status
- Dynamic instruction based on current state
**Handle states:**
- If `state: "blocked"` (missing artifacts): show message, suggest using openspec-continue-change
- If `state: "all_done"`: congratulate, suggest archive
- Otherwise: proceed to implementation
4. **Read context files**
Read the files listed in `contextFiles` from the apply instructions output.
The files depend on the schema being used:
- **spec-driven**: proposal, specs, design, tasks
- Other schemas: follow the contextFiles from CLI output
5. **Show current progress**
Display:
- Schema being used
- Progress: "N/M tasks complete"
- Remaining tasks overview
- Dynamic instruction from CLI
6. **Implement tasks (loop until done or blocked)**
For each pending task:
- Show which task is being worked on
- Make the code changes required
- Keep changes minimal and focused
- Mark task complete in the tasks file: `- [ ]` → `- [x]`
- Continue to next task
**Pause if:**
- Task is unclear → ask for clarification
- Implementation reveals a design issue → suggest updating artifacts
- Error or blocker encountered → report and wait for guidance
- User interrupts
7. **On completion or pause, show status**
Display:
- Tasks completed this session
- Overall progress: "N/M tasks complete"
- If all done: suggest archive
- If paused: explain why and wait for guidance
**Output During Implementation**
```
## Implementing: <change-name> (schema: <schema-name>)
Working on task 3/7: <task description>
[...implementation happening...]
✓ Task complete
Working on task 4/7: <task description>
[...implementation happening...]
✓ Task complete
```
**Output On Completion**
```
## Implementation Complete
**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 7/7 tasks complete ✓
### Completed This Session
- [x] Task 1
- [x] Task 2
...
All tasks complete! Ready to archive this change.
```
**Output On Pause (Issue Encountered)**
```
## Implementation Paused
**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 4/7 tasks complete
### Issue Encountered
<description of the issue>
**Options:**
1. <option 1>
2. <option 2>
3. Other approach
What would you like to do?
```
**Guardrails**
- Keep going through tasks until done or blocked
- Always read context files before starting (from the apply instructions output)
- If task is ambiguous, pause and ask before implementing
- If implementation reveals issues, pause and suggest artifact updates
- Keep code changes minimal and scoped to each task
- Update task checkbox immediately after completing each task
- Pause on errors, blockers, or unclear requirements - don't guess
- Use contextFiles from CLI output, don't assume specific file names
**Fluid Workflow Integration**
This skill supports the "actions on a change" model:
- **Can be invoked anytime**: Before all artifacts are done (if tasks exist), after partial implementation, interleaved with other actions
- **Allows artifact updates**: If implementation reveals design issues, suggest updating artifacts - not phase-locked, work fluidly
@@ -1,114 +0,0 @@
---
name: openspec-archive-change
description: Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
license: MIT
compatibility: Requires openspec CLI.
metadata:
author: openspec
version: "1.0"
generatedBy: "1.2.0"
---
Archive a completed change in the experimental workflow.
**Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
**Steps**
1. **If no change name provided, prompt for selection**
Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
Show only active changes (not already archived).
Include the schema used for each change if available.
**IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
2. **Check artifact completion status**
Run `openspec status --change "<name>" --json` to check artifact completion.
Parse the JSON to understand:
- `schemaName`: The workflow being used
- `artifacts`: List of artifacts with their status (`done` or other)
**If any artifacts are not `done`:**
- Display warning listing incomplete artifacts
- Use **AskUserQuestion tool** to confirm user wants to proceed
- Proceed if user confirms
3. **Check task completion status**
Read the tasks file (typically `tasks.md`) to check for incomplete tasks.
Count tasks marked with `- [ ]` (incomplete) vs `- [x]` (complete).
**If incomplete tasks found:**
- Display warning showing count of incomplete tasks
- Use **AskUserQuestion tool** to confirm user wants to proceed
- Proceed if user confirms
**If no tasks file exists:** Proceed without task-related warning.
4. **Assess delta spec sync state**
Check for delta specs at `openspec/changes/<name>/specs/`. If none exist, proceed without sync prompt.
**If delta specs exist:**
- Compare each delta spec with its corresponding main spec at `openspec/specs/<capability>/spec.md`
- Determine what changes would be applied (adds, modifications, removals, renames)
- Show a combined summary before prompting
**Prompt options:**
- If changes needed: "Sync now (recommended)", "Archive without syncing"
- If already synced: "Archive now", "Sync anyway", "Cancel"
If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke openspec-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice.
5. **Perform the archive**
Create the archive directory if it doesn't exist:
```bash
mkdir -p openspec/changes/archive
```
Generate target name using current date: `YYYY-MM-DD-<change-name>`
**Check if target already exists:**
- If yes: Fail with error, suggest renaming existing archive or using different date
- If no: Move the change directory to archive
```bash
mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name>
```
6. **Display summary**
Show archive completion summary including:
- Change name
- Schema that was used
- Archive location
- Whether specs were synced (if applicable)
- Note about any warnings (incomplete artifacts/tasks)
**Output On Success**
```
## Archive Complete
**Change:** <change-name>
**Schema:** <schema-name>
**Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/
**Specs:** ✓ Synced to main specs (or "No delta specs" or "Sync skipped")
All artifacts complete. All tasks complete.
```
**Guardrails**
- Always prompt for change selection if not provided
- Use artifact graph (openspec status --json) for completion checking
- Don't block archive on warnings - just inform and confirm
- Preserve .openspec.yaml when moving to archive (it moves with the directory)
- Show clear summary of what happened
- If sync is requested, use openspec-sync-specs approach (agent-driven)
- If delta specs exist, always run the sync assessment and show the combined summary before prompting
-288
View File
@@ -1,288 +0,0 @@
---
name: openspec-explore
description: Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
license: MIT
compatibility: Requires openspec CLI.
metadata:
author: openspec
version: "1.0"
generatedBy: "1.2.0"
---
Enter explore mode. Think deeply. Visualize freely. Follow the conversation wherever it goes.
**IMPORTANT: Explore mode is for thinking, not implementing.** You may read files, search code, and investigate the codebase, but you must NEVER write code or implement features. If the user asks you to implement something, remind them to exit explore mode first and create a change proposal. You MAY create OpenSpec artifacts (proposals, designs, specs) if the user asks—that's capturing thinking, not implementing.
**This is a stance, not a workflow.** There are no fixed steps, no required sequence, no mandatory outputs. You're a thinking partner helping the user explore.
---
## The Stance
- **Curious, not prescriptive** - Ask questions that emerge naturally, don't follow a script
- **Open threads, not interrogations** - Surface multiple interesting directions and let the user follow what resonates. Don't funnel them through a single path of questions.
- **Visual** - Use ASCII diagrams liberally when they'd help clarify thinking
- **Adaptive** - Follow interesting threads, pivot when new information emerges
- **Patient** - Don't rush to conclusions, let the shape of the problem emerge
- **Grounded** - Explore the actual codebase when relevant, don't just theorize
---
## What You Might Do
Depending on what the user brings, you might:
**Explore the problem space**
- Ask clarifying questions that emerge from what they said
- Challenge assumptions
- Reframe the problem
- Find analogies
**Investigate the codebase**
- Map existing architecture relevant to the discussion
- Find integration points
- Identify patterns already in use
- Surface hidden complexity
**Compare options**
- Brainstorm multiple approaches
- Build comparison tables
- Sketch tradeoffs
- Recommend a path (if asked)
**Visualize**
```
┌─────────────────────────────────────────┐
│ Use ASCII diagrams liberally │
├─────────────────────────────────────────┤
│ │
│ ┌────────┐ ┌────────┐ │
│ │ State │────────▶│ State │ │
│ │ A │ │ B │ │
│ └────────┘ └────────┘ │
│ │
│ System diagrams, state machines, │
│ data flows, architecture sketches, │
│ dependency graphs, comparison tables │
│ │
└─────────────────────────────────────────┘
```
**Surface risks and unknowns**
- Identify what could go wrong
- Find gaps in understanding
- Suggest spikes or investigations
---
## OpenSpec Awareness
You have full context of the OpenSpec system. Use it naturally, don't force it.
### Check for context
At the start, quickly check what exists:
```bash
openspec list --json
```
This tells you:
- If there are active changes
- Their names, schemas, and status
- What the user might be working on
### When no change exists
Think freely. When insights crystallize, you might offer:
- "This feels solid enough to start a change. Want me to create a proposal?"
- Or keep exploring - no pressure to formalize
### When a change exists
If the user mentions a change or you detect one is relevant:
1. **Read existing artifacts for context**
- `openspec/changes/<name>/proposal.md`
- `openspec/changes/<name>/design.md`
- `openspec/changes/<name>/tasks.md`
- etc.
2. **Reference them naturally in conversation**
- "Your design mentions using Redis, but we just realized SQLite fits better..."
- "The proposal scopes this to premium users, but we're now thinking everyone..."
3. **Offer to capture when decisions are made**
| Insight Type | Where to Capture |
|--------------|------------------|
| New requirement discovered | `specs/<capability>/spec.md` |
| Requirement changed | `specs/<capability>/spec.md` |
| Design decision made | `design.md` |
| Scope changed | `proposal.md` |
| New work identified | `tasks.md` |
| Assumption invalidated | Relevant artifact |
Example offers:
- "That's a design decision. Capture it in design.md?"
- "This is a new requirement. Add it to specs?"
- "This changes scope. Update the proposal?"
4. **The user decides** - Offer and move on. Don't pressure. Don't auto-capture.
---
## What You Don't Have To Do
- Follow a script
- Ask the same questions every time
- Produce a specific artifact
- Reach a conclusion
- Stay on topic if a tangent is valuable
- Be brief (this is thinking time)
---
## Handling Different Entry Points
**User brings a vague idea:**
```
User: I'm thinking about adding real-time collaboration
You: Real-time collab is a big space. Let me think about this...
COLLABORATION SPECTRUM
════════════════════════════════════════════
Awareness Coordination Sync
│ │ │
▼ ▼ ▼
┌────────┐ ┌────────┐ ┌────────┐
│Presence│ │Cursors │ │ CRDT │
│ "3 │ │ Multi │ │Conflict│
│online" │ │ select │ │ free │
└────────┘ └────────┘ └────────┘
│ │ │
trivial moderate complex
Where's your head at?
```
**User brings a specific problem:**
```
User: The auth system is a mess
You: [reads codebase]
┌─────────────────────────────────────────────┐
│ CURRENT AUTH FLOW │
└─────────────────────────────────────────────┘
│
┌─────────────┼─────────────┐
▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌─────────┐
│ Google │ │ GitHub │ │ Email │
│ OAuth │ │ OAuth │ │ Magic │
└────┬────┘ └────┬────┘ └────┬────┘
│ │ │
└─────────────┼─────────────┘
▼
┌───────────┐
│ Session │
└─────┬─────┘
│
▼
┌───────────┐
│ Perms │
└───────────┘
I see three tangles. Which one's burning?
```
**User is stuck mid-implementation:**
```
User: /opsx:explore add-auth-system
The OAuth integration is more complex than expected
You: [reads change artifacts]
You're on task 4: "Implement OAuth flow"
Let me trace what's involved...
[draws diagram, explores options, suggests paths]
Want to update the design to reflect this?
Or add a spike task to investigate?
```
**User wants to compare options:**
```
User: Should we use Postgres or SQLite?
You: Generic answer is boring. What's the context?
User: A CLI tool that tracks local dev environments
You: That changes everything.
┌─────────────────────────────────────────────────┐
│ CLI TOOL DATA STORAGE │
└─────────────────────────────────────────────────┘
Key constraints:
• No daemon running
• Must work offline
• Single user
SQLite Postgres
Deployment embedded ✓ needs server ✗
Offline yes ✓ no ✗
Single file yes ✓ no ✗
SQLite. Not even close.
Unless... is there a sync component?
```
---
## Ending Discovery
There's no required ending. Discovery might:
- **Flow into a proposal**: "Ready to start? I can create a change proposal."
- **Result in artifact updates**: "Updated design.md with these decisions"
- **Just provide clarity**: User has what they need, moves on
- **Continue later**: "We can pick this up anytime"
When it feels like things are crystallizing, you might summarize:
```
## What We Figured Out
**The problem**: [crystallized understanding]
**The approach**: [if one emerged]
**Open questions**: [if any remain]
**Next steps** (if ready):
- Create a change proposal
- Keep exploring: just keep talking
```
But this summary is optional. Sometimes the thinking IS the value.
---
## Guardrails
- **Don't implement** - Never write code or implement features. Creating OpenSpec artifacts is fine, writing application code is not.
- **Don't fake understanding** - If something is unclear, dig deeper
- **Don't rush** - Discovery is thinking time, not task time
- **Don't force structure** - Let patterns emerge naturally
- **Don't auto-capture** - Offer to save insights, don't just do it
- **Do visualize** - A good diagram is worth many paragraphs
- **Do explore the codebase** - Ground discussions in reality
- **Do question assumptions** - Including the user's and your own
-110
View File
@@ -1,110 +0,0 @@
---
name: openspec-propose
description: Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
license: MIT
compatibility: Requires openspec CLI.
metadata:
author: openspec
version: "1.0"
generatedBy: "1.2.0"
---
Propose a new change - create the change and generate all artifacts in one step.
I'll create a change with artifacts:
- proposal.md (what & why)
- design.md (how)
- tasks.md (implementation steps)
When ready to implement, run /opsx:apply
---
**Input**: The user's request should include a change name (kebab-case) OR a description of what they want to build.
**Steps**
1. **If no clear input provided, ask what they want to build**
Use the **AskUserQuestion tool** (open-ended, no preset options) to ask:
> "What change do you want to work on? Describe what you want to build or fix."
From their description, derive a kebab-case name (e.g., "add user authentication" → `add-user-auth`).
**IMPORTANT**: Do NOT proceed without understanding what the user wants to build.
2. **Create the change directory**
```bash
openspec new change "<name>"
```
This creates a scaffolded change at `openspec/changes/<name>/` with `.openspec.yaml`.
3. **Get the artifact build order**
```bash
openspec status --change "<name>" --json
```
Parse the JSON to get:
- `applyRequires`: array of artifact IDs needed before implementation (e.g., `["tasks"]`)
- `artifacts`: list of all artifacts with their status and dependencies
4. **Create artifacts in sequence until apply-ready**
Use the **TodoWrite tool** to track progress through the artifacts.
Loop through artifacts in dependency order (artifacts with no pending dependencies first):
a. **For each artifact that is `ready` (dependencies satisfied)**:
- Get instructions:
```bash
openspec instructions <artifact-id> --change "<name>" --json
```
- The instructions JSON includes:
- `context`: Project background (constraints for you - do NOT include in output)
- `rules`: Artifact-specific rules (constraints for you - do NOT include in output)
- `template`: The structure to use for your output file
- `instruction`: Schema-specific guidance for this artifact type
- `outputPath`: Where to write the artifact
- `dependencies`: Completed artifacts to read for context
- Read any completed dependency files for context
- Create the artifact file using `template` as the structure
- Apply `context` and `rules` as constraints - but do NOT copy them into the file
- Show brief progress: "Created <artifact-id>"
b. **Continue until all `applyRequires` artifacts are complete**
- After creating each artifact, re-run `openspec status --change "<name>" --json`
- Check if every artifact ID in `applyRequires` has `status: "done"` in the artifacts array
- Stop when all `applyRequires` artifacts are done
c. **If an artifact requires user input** (unclear context):
- Use **AskUserQuestion tool** to clarify
- Then continue with creation
5. **Show final status**
```bash
openspec status --change "<name>"
```
**Output**
After completing all artifacts, summarize:
- Change name and location
- List of artifacts created with brief descriptions
- What's ready: "All artifacts created! Ready for implementation."
- Prompt: "Run `/opsx:apply` or ask me to implement to start working on the tasks."
**Artifact Creation Guidelines**
- Follow the `instruction` field from `openspec instructions` for each artifact type
- The schema defines what each artifact should contain - follow it
- Read dependency artifacts for context before creating new ones
- Use `template` as the structure for your output file - fill in its sections
- **IMPORTANT**: `context` and `rules` are constraints for YOU, not content for the file
- Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifact
- These guide what you write, but should never appear in the output
**Guardrails**
- Create ALL artifacts needed for implementation (as defined by schema's `apply.requires`)
- Always read dependency artifacts before creating a new one
- If context is critically unclear, ask the user - but prefer making reasonable decisions to keep momentum
- If a change with that name already exists, ask if user wants to continue it or create a new one
- Verify each artifact file exists after writing before proceeding to next
+5
View File
@@ -0,0 +1,5 @@
# CodeGraph data files — local to each machine, not for committing.
# Ignore everything in .codegraph/ except this file itself, so transient
# files (the database, daemon.pid, sockets, logs) never show up in git.
*
!.gitignore
+1 -3
View File
@@ -88,7 +88,5 @@ crashlytics-build.properties
~$*.xlsx
Assets/GameMain/Configs/ResourceBuilder.xml
/.dotnet
/.omx
/.vscode
/openspec/changes/archive
/Tools/make_atlas/input
-6
View File
@@ -1,6 +0,0 @@
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Workload.ManagedGame"
]
}
+39 -17
View File
@@ -1,23 +1,45 @@
# Repository Guidelines
# AGENTS.md
## Project Structure & Module Organization
`Assets/GameMain/Scripts` holds gameplay code, organized by domain such as `Components`, `Entity`, `Procedure`, `Simulation`, `UI`, and `Editor`. Scenes live in `Assets/GameMain/Scenes`, and `Assets/Launcher.unity` is the normal local entry point. Shared framework code is under `Assets/GameFramework`; third-party code and packages live in `Assets/Plugins` and `Packages/`. Automated tests are in `Assets/Tests/Simulation/{EditMode,PlayMode}`. Design notes and change proposals are tracked in `docs/` and `openspec/`. GameFramework build and resource configs live in `Assets/GameMain/Configs`.
单人 3d 类吸血鬼幸存者游戏原型。Unity 2022.3.62f3,框架为 GameFramework(UGF,源码在 `Assets/GameFramework/`),配置表用 Luban,插件有 UniTask、DOTween 等。
## Build, Test, and Development Commands
- `Unity.exe -projectPath .` opens the project in Unity `2022.3.62f3c1`.
- Open `VampireLike.sln` in Rider or Visual Studio for C# editing.
- Open `Assets/Launcher.unity` and press Play to run the main loop locally.
- `Unity.exe -batchmode -nographics -projectPath . -runTests -testPlatform EditMode -testResults Logs/editmode-test-results.xml -logFile Logs/editmode-tests.log -quit` runs EditMode tests.
- `Unity.exe -batchmode -nographics -projectPath . -runTests -testPlatform PlayMode -testResults Logs/playmode-test-results.xml -logFile Logs/playmode-tests.log -quit` runs PlayMode tests.
## 主要目录
## Coding Style & Naming Conventions
Use C# with 4-space indentation and K&R braces. Keep one main type per file, and match file names to type names. Use `PascalCase` for public types and members, `camelCase` for locals and parameters, and `[SerializeField] private` for Inspector-facing fields. Match nearby namespaces and folder boundaries (`Simulation`, `Entity`, `UI`, etc.). Read and edit text files using `UTF-8`, and use `LF` line endings. No repo-local linter or `.editorconfig` is committed, so use Rider/VS formatting and follow surrounding code. When adding or moving Unity assets, always commit the paired `.meta` files.
| 路径 | 内容 |
| --- | --- |
| `Assets/GameMain/Scripts/Base/` | 程序集 `SepCore.Base`:常量、存档数据结构(`Definition/DataStruct/`)、Luban 生成代码(`Gen/`) |
| `Assets/GameMain/Scripts/Runtime/` | 程序集 `SepCore.Runtime`:战斗内核(`Battle/`)、自定义组件(`CustomComponent/` 下 Luban、Random、Run、Save)、UIBase |
| `Assets/GameMain/Scripts/UI/` | 程序集 `SepCore.Presentation`:各界面 Form/View |
| `Assets/GameMain/Scripts/Procedure/`、`Editor/` | UGF 流程、编辑器工具 |
| `Assets/GameMain/Scripts/Tests/EditMode/` | EditMode 测试 |
| `数据表/` | Luban 源:`Datas/*.xlsx`(`__tables__.xlsx` 注册)、`Defines/`、导出脚本 `gen_cli.sh` / `gen_cli.bat` |
| `Docs/GameDesign/`、`Docs/Tech/` | 设计文档;技术文档(Luban、存档、UI、战斗 TODO) |
## Testing Guidelines
Tests use Unity Test Framework with NUnit. Name files `*Tests.cs`. Put pure logic coverage in EditMode tests and runtime or scene behavior in PlayMode tests. There is no fixed coverage percentage, but changes to simulation, combat, procedures, or UI flow should ship with new or updated tests in `Assets/Tests`.
## 生成代码不可手改
## Commit & Pull Request Guidelines
Recent history favors short, imperative commit subjects such as `fix test sample`, `Update NearestTargetSelector.cs`, and `Cleanup 1`. Keep commits focused and add module context when helpful, for example `Simulation: tighten collision query pruning`. PRs should include a behavior summary, linked task or issue, tests run, and screenshots or video for UI or scene changes.
- `Scripts/Base/Gen/` 全部由 Luban 导出。改表只改 `数据表/Datas/` 源表,再运行 `数据表/gen_cli.sh`(Windows 也可 `gen_cli.bat`)。
- `Scripts/UI/` 下的 `XxxForm.cs` / `XxxView.cs` 由 `UIAssetsTools` 生成(文件头有 `// <auto-generated />`)。业务逻辑写在同名 `XxxForm.Logic.cs` partial 中;prefab 上要暴露给代码的组件在 `UISerializationItem` 登记变量名后重新构建(编辑器菜单 `Utility/UI/Build UI Prefabs`)。
## Repository Hygiene
Do not commit generated Unity output such as `Library/`, `Temp/`, `Logs/`, `obj/`, generated `.csproj`, or `.sln` files. Review changes to `Assets/GameMain/Configs/*.xml` and `Assets/StreamingAssets` carefully because they affect packaging and runtime resources.
## UI 常见坑(详见 `Docs/Tech/UIMaintenance.md`)
- UGF 只对顶级 Form 调用 `OnInit/OnOpen/OnClose` 生命周期;**嵌套 Form 的这些方法永远不会执行**。事件绑定用幂等模式(`_listenersBound` 标志 + `EnsureXxx()`),放在能力入口(如 `Refresh`)里。
- 子 Form 只提供能力(public 方法,幂等可重入),数据由调用方传入;只有顶级 Form 有编排权。子组件向上通信用 `GameEntry.Event.Fire` + `XxxEventArgs`(放 `Scripts/Base/Event/UIForm/`,`ReferencePool` + `Create`/`Clear`),禁止反向持有父 Form。
## Luban 约定(详见 `docs/tech/01_LubanDataTable.md`)
- 表名小写 `tbxxxconfig`:Excel 表名、导出文件名、`Tables` 构造参数、`TableNames` 数组四处必须一致。
- 访问入口 `GameEntry.Luban.Get<T>(id)` / `GetTable<T>()`;单行表(`mode=one`,如 `tbglobalconfig`)不注册访问器,走 `Tables.TbXxxConfig.Data`。
- 从 Luban 里取出的数据默认其有效,业务代码不对其是否有效做判断。
## 判空与错误处理
- 声明处已经初始化赋值的变量,之后**不再对它判空**。
- 不做静态回退(不用默认值/兜底逻辑静默继续);异常路径直接 `Log.Error(...)` 抛出(UGF 的 `Log`,支持格式串,如 `Log.Error("Entity data is invalid.")`)。
- UI 的序列化字段(`[SerializeField]` 及 View 生成的引用)**不做判空检查**,默认已在 Inspector 中赋值。
- GameEntry 中提供的静态入口不对其进行判空,默认其不为空。
- 对于从 Luban 中取出的数据,默认其是有效且不为空的,代码里不对其做任何有效性检测
## 代码风格
- 命名:public 成员大驼峰(`EncounterId`、`RoundNumber`);私有字段 `_` 前缀 + 小驼峰(`_random`、`_view`),序列化字段写作 `[SerializeField] private XxxView _view = null;`;方法(含 private)大驼峰。
- 程序集拆分为 `SepCore.Base / Runtime / Presentation / Procedure / Editor` + `Tests`(仅 Editor 平台)+ `Luban.Runtime`;跨程序集引用参考各 `.asmdef` 的 GUID 列表。
- 命名空间跟随程序集根(如 `SepCore.Battle`、`SepCore.Definition`)。
+5 -5
View File
@@ -2,14 +2,14 @@
<UnityGameFramework>
<ResourceBuilder>
<Settings>
<InternalResourceVersion>1</InternalResourceVersion>
<Platforms>33</Platforms>
<InternalResourceVersion>3</InternalResourceVersion>
<Platforms>32</Platforms>
<AssetBundleCompression>1</AssetBundleCompression>
<CompressionHelperTypeName>UnityGameFramework.Runtime.DefaultCompressionHelper</CompressionHelperTypeName>
<AdditionalCompressionSelected>False</AdditionalCompressionSelected>
<ForceRebuildAssetBundleSelected>True</ForceRebuildAssetBundleSelected>
<BuildEventHandlerTypeName>VampireLike.Editor.VampireLikeBuildEventHandler</BuildEventHandlerTypeName>
<OutputDirectory>D:/Learn/GameLearn/UnityProjects/VampireLike/bin/AssetBundles</OutputDirectory>
<ForceRebuildAssetBundleSelected>False</ForceRebuildAssetBundleSelected>
<BuildEventHandlerTypeName>SepCore.Editor.DefaultBuildEventHandler</BuildEventHandlerTypeName>
<OutputDirectory>D:/UnityProjects/VampireLike/bin/AssetBundles</OutputDirectory>
<OutputPackageSelected>True</OutputPackageSelected>
<OutputFullSelected>True</OutputFullSelected>
<OutputPackedSelected>True</OutputPackedSelected>
+94 -36
View File
@@ -11,7 +11,6 @@
<Resource Name="Localization/Dictionaries" Variant="zh-cn" FileSystem="UI" LoadType="0" Packed="True" ResourceGroups="Base" />
<Resource Name="Localization/Dictionaries" Variant="zh-tw" FileSystem="UI" LoadType="0" Packed="True" ResourceGroups="Base" />
<Resource Name="Materials" FileSystem="Resources" LoadType="0" Packed="True" />
<Resource Name="Meshes" FileSystem="Resources" LoadType="0" Packed="True" />
<Resource Name="Music/About" FileSystem="Resources" LoadType="0" Packed="True" ResourceGroups="Music" />
<Resource Name="Music/Background" FileSystem="Resources" LoadType="0" Packed="True" ResourceGroups="Music" />
<Resource Name="Music/Menu" FileSystem="Resources" LoadType="0" Packed="True" ResourceGroups="Music" />
@@ -29,173 +28,232 @@
<Resource Name="URPAssets" LoadType="0" Packed="True" />
</Resources>
<Assets>
<Asset Guid="0080b46050fc460cb6d6c7fc8d4e8c27" ResourceName="DataTables" />
<Asset Guid="0179316b5fc7c2946a67c5877c02fc30" ResourceName="UI/UISprites/Common" />
<Asset Guid="04d7dde7615d71b4db1a0c8d67a62e95" ResourceName="UI/UIForms" />
<Asset Guid="037baa35a19f9e64ea778ab74b0d48eb" ResourceName="UI/UISprites/Icons" />
<Asset Guid="03a4e96650b651d49b7cb120872f7d61" ResourceName="UI/UISprites/Icons" />
<Asset Guid="04dbc0581071c254ea6564b2ff06ff9b" ResourceName="Textures" />
<Asset Guid="04e1c2b9cc1f8484cbf5533473f55a2c" ResourceName="UI/UISprites/Icons" />
<Asset Guid="0722cd253d6bf014eb4134a2151ec7e3" ResourceName="UI/UIItems" />
<Asset Guid="08c97a5a0cf01ff469525a635a4a1eb1" ResourceName="UI/UISprites/Icons" />
<Asset Guid="093f8873cfe371d41b854ed9fb6bff69" ResourceName="Music/About" />
<Asset Guid="0963e6c65b2b1f74d9f455e21901e2dc" ResourceName="Textures" />
<Asset Guid="0a65a68c01a76ea4b8b574827a6467aa" ResourceName="UI/UISprites/Common" />
<Asset Guid="0b6c5dfe0bd1cc34497e98040ca981e1" ResourceName="UI/UISprites/Icons" />
<Asset Guid="0e45b8557b1831845a6e03fce7b5aa2b" ResourceName="SceneSettings" />
<Asset Guid="0ed73dc47f4cb38489020d05e9f02c99" ResourceName="Materials" />
<Asset Guid="0f995b3145e0e7247a42da6cef1dbf23" ResourceName="Materials" />
<Asset Guid="1046dcb12e547564d8b54bd15419a787" ResourceName="Entities" />
<Asset Guid="1053b0070685be347ab58587156842dc" ResourceName="Localization/Dictionaries" ResourceVariant="zh-tw" />
<Asset Guid="11143001bcbdc864b8d8fe2083142e5a" ResourceName="Entities" />
<Asset Guid="1125080c72a9ace40b258e8df7695362" ResourceName="UI/UISprites/Icons" />
<Asset Guid="121c37ab385fb0248bdf75e663ac8e8e" ResourceName="UI/UISprites/Icons" />
<Asset Guid="1478894bc9a1ed241b05b0862a7b8bce" ResourceName="Textures" />
<Asset Guid="14869ac0d4433f04db1704e39d03412e" ResourceName="Localization/Dictionaries" ResourceVariant="en-us" />
<Asset Guid="14fe2dc326b7c78458bc404b6a9c791c" ResourceName="UI/UIForms" />
<Asset Guid="156d241f796508c4da4fc354a7fbf5a8" ResourceName="UI/UISprites/Common" />
<Asset Guid="185f97f18bd603a478461ce9c08bd039" ResourceName="Materials" />
<Asset Guid="18dc0cd2c080841dea60987a38ce93fa" ResourceName="URPAssets" />
<Asset Guid="1aeec1235e121cb46ba8ea88d1025009" ResourceName="Fonts" />
<Asset Guid="1b4bad6cea5a94611b21f9757fe41444" ResourceName="Materials" />
<Asset Guid="1be4472894949437694aead55c6da60f" ResourceName="Sounds" />
<Asset Guid="1be7b5c5ed8a01f49b26f30ee2146240" ResourceName="Fonts" />
<Asset Guid="1c89236d45255234ebd1d39657ff7e02" ResourceName="Textures" />
<Asset Guid="1cfe02ffd0b74854ea5bcd1a3c63ac3c" ResourceName="Materials" />
<Asset Guid="1d46a17a95a444c08830612bc1146d1d" ResourceName="Materials" />
<Asset Guid="1e0350b97c61bfb4a91c62d756d01727" ResourceName="Materials" />
<Asset Guid="1eb120084e9602c4da979658e08c63e4" ResourceName="UI/UISprites/Icons" />
<Asset Guid="1f84d60b84fd40b49bc5033530a7e24a" ResourceName="UI/UISprites/Icons" />
<Asset Guid="20e5dc75d1c3fe74bb841127a036d69d" ResourceName="UI/UIForms" />
<Asset Guid="20ebdccacd18e7c45a8c10c46cddb3d7" ResourceName="UI/UISprites/Icons" />
<Asset Guid="2257393dd6ed51a49a6c3fd178382b59" ResourceName="Materials" />
<Asset Guid="2285810b642292949997fce96eabf85c" ResourceName="DataTables" />
<Asset Guid="236433a27ce40a7429b87d14d8fa3035" ResourceName="UI/UISprites/Common" />
<Asset Guid="24ca310f92a6796408f1db7647ec4e55" ResourceName="UI/UISprites/Common" />
<Asset Guid="25229adaac96caa42a737b60465f3229" ResourceName="Fonts" />
<Asset Guid="2768a9a4c8d289840918dcb879705893" ResourceName="Meshes" />
<Asset Guid="28988b1366cba3e4b947bb60d6b118f9" ResourceName="DataTables" />
<Asset Guid="261cde3315e1f0e41a28d6477fa3d434" ResourceName="UI/UISprites/Icons" />
<Asset Guid="26b7693616d1ae142a820ca189fceaae" ResourceName="DataTables" />
<Asset Guid="27ed926b74c11814e9dcd3117dc7bead" ResourceName="DataTables" />
<Asset Guid="28c42f88cfe56e84e95c0d7545db8c1b" ResourceName="Materials" />
<Asset Guid="293fc547daf25ad499fc1c6c905fce41" ResourceName="DataTables" />
<Asset Guid="2cb5eef4d7d7bf6459dd13a3f8d90246" ResourceName="Textures" />
<Asset Guid="2d1b2cc11a8e99f42b34265765fc6d86" ResourceName="Entities" />
<Asset Guid="2d905599c9e1bda40b300ef2a0815aa9" ResourceName="DataTables" />
<Asset Guid="2dc7693ba236dae4a917dae46fd9a69f" ResourceName="DataTables" />
<Asset Guid="2e3f9973612afe3428bbdee83327b95e" ResourceName="DataTables" />
<Asset Guid="2ed59bf0745586248aaa89cf7d3305a7" ResourceName="Entities" />
<Asset Guid="2fbbf1c667136af4b9dd4f823f897378" ResourceName="UI/UISprites/Icons" />
<Asset Guid="2fe2aad193827b44b8720e458e85119f" ResourceName="DataTables" />
<Asset Guid="308577c72eb4cd14ca676aeee62b0ea5" ResourceName="UI/UIItems" />
<Asset Guid="312264fc6c05ca04499685cc989e533d" ResourceName="UI/UISprites/Icons" />
<Asset Guid="315e8ed2db27c254cb3366ff0793cd90" ResourceName="DataTables" />
<Asset Guid="352da872791696c48af3b21132e3e3c3" ResourceName="DataTables" />
<Asset Guid="372a8b1e52bedc64b9207b12d167afaa" ResourceName="DataTables" />
<Asset Guid="39cc16aedcbca5647be53f56dce6a5ad" ResourceName="DataTables" />
<Asset Guid="39e7c07f139dbb3438fc8b55662778d5" ResourceName="UI/UISprites/Icons" />
<Asset Guid="3aa539b1e46111d4299a83c73ebe762c" ResourceName="UI/UIForms" />
<Asset Guid="3be3fac3611f4584695662c4889f722d" ResourceName="UI/UISprites/Common" />
<Asset Guid="3cda1857d670c6340adb393eda40cd3e" ResourceName="UI/UISprites/Icons" />
<Asset Guid="3dc7455402dfa462b89a4bbd513955e9" ResourceName="Sounds" />
<Asset Guid="3e2e8566c4832d94fa488aac86464e23" ResourceName="DataTables" />
<Asset Guid="3e504a46a8fcec34db3c4776530c6eb2" ResourceName="Textures" />
<Asset Guid="3f54fcfdac53aec42ae18a6a1c6d8cb1" ResourceName="UI/UISprites/Common" />
<Asset Guid="414af21e34e96c343a4d2a0613175657" ResourceName="DataTables" />
<Asset Guid="4209bea5e51753141ae060017f42afdc" ResourceName="UI/UIForms" />
<Asset Guid="429ed03405bf8854eab46552b7470ac0" ResourceName="Materials" />
<Asset Guid="4473d81b14ddb0143addf0e6050d8491" ResourceName="Scenes" />
<Asset Guid="44b2eb1016babff49866138a705af9f6" ResourceName="UI/UISprites/Icons" />
<Asset Guid="44c8db52241385c45bbb14a1718f17bf" ResourceName="Configs" />
<Asset Guid="44cfa1c448225554c961ad6eb667d80b" ResourceName="DataTables" />
<Asset Guid="4b1e2f50f0632d9478c096a9ad7b5509" ResourceName="UI/UISprites/Icons" />
<Asset Guid="4c3865b2ac420cd46a9cde6ab468d016" ResourceName="Materials" />
<Asset Guid="4ca22ae3bc068c84eb7858d5b9bdf3e2" ResourceName="Fonts" />
<Asset Guid="4f688097e85071841a2c3ba165000c20" ResourceName="Textures" />
<Asset Guid="5282f20eba4d44213820e21af8481932" ResourceName="Meshes" />
<Asset Guid="5461b0fc87a2ab04fbcfd898d18f6107" ResourceName="Configs" />
<Asset Guid="56142b46ec15fe74b85ca4fdd3324751" ResourceName="UI/UIForms" />
<Asset Guid="56b8df63bbad60749a69e38bc687fadf" ResourceName="UI/UISprites/Common" />
<Asset Guid="578af1667322bab45b652b79a40bb4fb" ResourceName="Materials" />
<Asset Guid="583ff7026dac91849b7c7b2468ba456b" ResourceName="Materials" />
<Asset Guid="5b5a6a737c460eb4abc105d6583d405e" ResourceName="Fonts" />
<Asset Guid="598cee40dd61c3349acd508f5c2c92c1" ResourceName="UI/UISprites/Icons" />
<Asset Guid="5dcd89912e222bf4c87f76db4044bc5e" ResourceName="Localization/Dictionaries" ResourceVariant="ko-kr" />
<Asset Guid="5ebb46af6f16ae94e87f64a7dc0a49cb" ResourceName="Entities" />
<Asset Guid="62242e716ff2d274da787fe558f06b06" ResourceName="UI/UISprites/Icons" />
<Asset Guid="62af9e5c8f39cfa49af9e10ccf42f1da" ResourceName="UI/UISprites/Common" />
<Asset Guid="632ea7a45da70a34984e1280b03fc579" ResourceName="UI/UISprites/Icons" />
<Asset Guid="638ff8ae4a0d15047839cd265d3bc296" ResourceName="Music/Background" />
<Asset Guid="63fe6ff9ab9e1433f8db4ebd940f2442" ResourceName="Materials" />
<Asset Guid="64c7bcc7087b03d4b9bc0ac32f9b2b48" ResourceName="UI/UISprites/Icons" />
<Asset Guid="65a506fc3ca171347ac74203416a3d7f" ResourceName="UI/UISprites/Icons" />
<Asset Guid="65ffa78c2e8cbb346826cc2f3a7b6ea4" ResourceName="DataTables" />
<Asset Guid="66261723fe421be498ce5957449fc972" ResourceName="Scenes" />
<Asset Guid="6a58ea03d3bd54e428d969b85afa5680" ResourceName="Fonts" />
<Asset Guid="68729f225481f3a49b1daacf924dd109" ResourceName="UI/UISprites/Icons" />
<Asset Guid="6c80f46064f8e74429d9fdc5190abfb0" ResourceName="UI/UISprites/Icons" />
<Asset Guid="6cbc2c323b77f804fb958fa4eca33998" ResourceName="UI/UISprites/Common" />
<Asset Guid="6d9b42ac01f24bf4d98923573f103575" ResourceName="Textures" />
<Asset Guid="6db0c8354d868834abf29840037591b1" ResourceName="Textures" />
<Asset Guid="6de74f273735d3e48b98caf0727ceded" ResourceName="Entities" />
<Asset Guid="6e023ca4283b3a7469cd61d24c83048c" ResourceName="Textures" />
<Asset Guid="6e2e48e91e9a4c04eb0d927dfcca0b75" ResourceName="DataTables" />
<Asset Guid="6e3730451fa077346abd4ac642ea71d8" ResourceName="Textures" />
<Asset Guid="6e5d026bf0652ed4380f6a66f4aa26c5" ResourceName="Textures" />
<Asset Guid="6eb54a506884f5f4cae28dda00621b99" ResourceName="DataTables" />
<Asset Guid="707360a9c581a4bd7aa53bfeb1429f71" ResourceName="URPAssets" />
<Asset Guid="71646ebaae78d43aeb8b53cacdb69671" ResourceName="Textures" />
<Asset Guid="717aeb9eec580f74b8ba8c4e2b657efb" ResourceName="UI/UISprites/Icons" />
<Asset Guid="72e76810224064300b7d32e8322a5d12" ResourceName="Sounds" />
<Asset Guid="743019ea56b594149a9d5ef429112715" ResourceName="DataTables" />
<Asset Guid="7456d83d63724fd41a3f4ea54fece6a8" ResourceName="DataTables" />
<Asset Guid="74de26a1b47fa13468ea72894a720176" ResourceName="UI/UIForms" />
<Asset Guid="76b24e5957c874a48bab79b65990b362" ResourceName="DataTables" />
<Asset Guid="77cbb7c5404c10242ab59953e0746314" ResourceName="Fonts" />
<Asset Guid="78595a129d0438c44b2d52720e9c0edd" ResourceName="UI/UIItems" />
<Asset Guid="78c15b1ef3ec02044a8754c561f47ff9" ResourceName="DataTables" />
<Asset Guid="7aac48e4d5b44884b8cafa4de4e489ef" ResourceName="UI/UISprites/Icons" />
<Asset Guid="7b7fd9122c28c4d15b667c7040e3b3fd" ResourceName="URPAssets" />
<Asset Guid="7e6ecd46ba625fb43ab2b4bc52dcb3c1" ResourceName="DataTables" />
<Asset Guid="7e91cd9bad7babf4b975882a4b7453cb" ResourceName="Textures" />
<Asset Guid="7eae0d2701845a54aa570b07c55dab44" ResourceName="Textures" />
<Asset Guid="7f1361f834115be4ea4ec2387c67334e" ResourceName="Fonts" />
<Asset Guid="7f5aee8da226edf4991598327cb32ce0" ResourceName="UI/UISprites/Logos" />
<Asset Guid="7fd11dc5d29076d469d414dec2818f11" ResourceName="Configs" />
<Asset Guid="800f7cb88c9f452479b6ad9576c7b25d" ResourceName="UI/UISprites/Icons" />
<Asset Guid="836be25be3e1e8c41ae5545bc8a9a4d7" ResourceName="Textures" />
<Asset Guid="83e5fce2d1e5b3e4ab6551de03cc9c22" ResourceName="Materials" />
<Asset Guid="85c9ccd84e0717f4dba80fd64bc9fb53" ResourceName="UI/UISprites/Icons" />
<Asset Guid="887d5a8d5320cb44b985ee23d43d9daa" ResourceName="DataTables" />
<Asset Guid="8940b037a9b441c4cbd3d2b446838424" ResourceName="Materials" />
<Asset Guid="8e27380ee68aa4a219b4db9018e7da31" ResourceName="Materials" />
<Asset Guid="903fe490f7ddf7b489e01f02c7983c79" ResourceName="UI/UISprites/Icons" />
<Asset Guid="91b565625868b59428114c4a5b945e80" ResourceName="UI/UISprites/SelectRoleFormRT" />
<Asset Guid="92e207ca452785d478c7a2994d0c8351" ResourceName="UI/UISprites/Icons" />
<Asset Guid="92e9102fc83c8e949971efe6f1fa6501" ResourceName="UI/UIForms" />
<Asset Guid="9400f2349c8b48a4b9fa86bd63f169cb" ResourceName="UI/UISprites/Icons" />
<Asset Guid="9538765dceb3e9248aec104646e501ad" ResourceName="UI/UISprites/Icons" />
<Asset Guid="955000b4d1441470e8cbf94f483228b5" ResourceName="Materials" />
<Asset Guid="95704d9db33214d4ba398b74e2183456" ResourceName="DataTables" />
<Asset Guid="97b1f8b25cca2bc458cb9d6127c8d186" ResourceName="Materials" />
<Asset Guid="99d811b0183246646a2ce8df996f4bca" ResourceName="Fonts" />
<Asset Guid="9afa958d6d8235941b9badb42aae4370" ResourceName="Meshes" />
<Asset Guid="9ab9adabcf369c44e89076c7e5b454ba" ResourceName="UI/UISprites/Icons" />
<Asset Guid="9ad79a3e50af5244eb233da7e4f21233" ResourceName="UI/UISprites/Icons" />
<Asset Guid="9bc1d62ccbd7a754f9612f310b40be8c" ResourceName="UI/UISprites/Icons" />
<Asset Guid="9be2e1e45f4edd74c8764538ad306b78" ResourceName="Localization/Dictionaries" ResourceVariant="zh-cn" />
<Asset Guid="9d193ac5b4294e0e9ba6e867320944b7" ResourceName="Entities" />
<Asset Guid="9ddab293e2a8af3499dac05f5fd6169c" ResourceName="Meshes" />
<Asset Guid="9f5bba6d2f5c95049a59fcb56df2d38f" ResourceName="UI/UIItems" />
<Asset Guid="9f847ec5e66e03e4ead1d3c5f7b510e8" ResourceName="UI/UISprites/Common" />
<Asset Guid="a019ae3af8e864616b85773c509f5285" ResourceName="Sounds" />
<Asset Guid="a17766a004c520a42b9257af2d83e78a" ResourceName="DataTables" />
<Asset Guid="a23eef5e20ff8cb46adf33491fc443fb" ResourceName="Materials" />
<Asset Guid="a266178dac3c9e448ae7bf85617cfd6a" ResourceName="UI/UISprites/Icons" />
<Asset Guid="a4b74a0ecf03ffb47b0b0e5dfa8ca35f" ResourceName="UI/UISprites/Icons" />
<Asset Guid="a6560a915ef98420e9faacc1c7438823" ResourceName="URPAssets" />
<Asset Guid="a6ac41115088b5946bc544429260c997" ResourceName="Entities" />
<Asset Guid="a71f8bb1b1b2c51438e2bafc884cb02c" ResourceName="DataTables" />
<Asset Guid="a76ff56683a2bc2479ebd63dcdd658b0" ResourceName="UI/UIItems" />
<Asset Guid="a77acddad3f780148b867a6ccdfe95b8" ResourceName="UI/UISprites/Icons" />
<Asset Guid="a7b030cffa2dc44478c14e49a22771c2" ResourceName="Materials" />
<Asset Guid="a8c07bbe04fdaf04b80e27f651a8edd6" ResourceName="UI/UISprites/Common" />
<Asset Guid="a9be0531a19af934e97a1f3b47b78872" ResourceName="UI/UISprites/Common" />
<Asset Guid="ab1c66f8a301fe043930c9f0c23716cf" ResourceName="Fonts" />
<Asset Guid="aa90f2691281f1e429893fabd7656264" ResourceName="UI/UISprites/Icons" />
<Asset Guid="ab01163442b94ad4794a345dd5a49ec9" ResourceName="UI/UISprites/Icons" />
<Asset Guid="ab45c3f613f388d43bbf43ec05eb92e2" ResourceName="UI/UISprites/Common" />
<Asset Guid="ab4774faf71b57a40a29a9e902403fe3" ResourceName="DataTables" />
<Asset Guid="abb5b3b95f1a42c46a251da378cbeace" ResourceName="Entities" />
<Asset Guid="adad702a675d15945aa01e882420d653" ResourceName="UI/UISprites/Icons" />
<Asset Guid="ae6a7f967521769458b0913fa39caaf4" ResourceName="Textures" />
<Asset Guid="b031b4f2980561542a7f7ba41391edc3" ResourceName="Scenes" />
<Asset Guid="b0c7cf51d3fecb446ab93bf854419715" ResourceName="Materials" />
<Asset Guid="b6539f2b0fa989d4fb7e057799b9260d" ResourceName="Fonts" />
<Asset Guid="b6f06390b8e233345b9a089681f14b81" ResourceName="Entities" />
<Asset Guid="b8848e672f7437f42a6285a4fe499afb" ResourceName="UI/UIForms" />
<Asset Guid="b9611b00d258c1c40adf809817828ec1" ResourceName="UI/UISprites/Icons" />
<Asset Guid="ba157ba55f72c424a9e88f3c029997c4" ResourceName="Textures" />
<Asset Guid="baedbbad82997f445a8cb4da210404e0" ResourceName="Meshes" />
<Asset Guid="babce70282f41c6419b2e1807532b375" ResourceName="UI/UISprites/Icons" />
<Asset Guid="bbfd75fe6fe00e1448fe988173ede7f9" ResourceName="UI/UIForms" />
<Asset Guid="bc065bcf1474d7d4387fafd202678c37" ResourceName="Fonts" />
<Asset Guid="bc2fdc7a4bbc5dd4c93b60e6d49fbbc7" ResourceName="DataTables" />
<Asset Guid="bf75b984df8a84987bcf3a8bf6e2862d" ResourceName="Sounds" />
<Asset Guid="c27d1aa86b4c7054a82432a9d71e5f85" ResourceName="UI/UISprites/Icons" />
<Asset Guid="c3a86ff7445c9c94cbf24ef544cecf4c" ResourceName="UI/UISprites/Icons" />
<Asset Guid="c3f12cb3b19f78748bc2a90894790dd4" ResourceName="UI/UISprites/Icons" />
<Asset Guid="c40be3174f62c4acf8c1216858c64956" ResourceName="URPAssets" />
<Asset Guid="c49cffd4fc1dfb549b2b30448a0becda" ResourceName="UI/UISprites/Icons" />
<Asset Guid="c4f37184fcb9306428d7d002f7dca96d" ResourceName="Materials" />
<Asset Guid="c547624e174de984882f0a14b4bb32e1" ResourceName="Materials" />
<Asset Guid="c58c9afddbd36d14d837fa218d772996" ResourceName="Materials" />
<Asset Guid="c7d1e11dd37634b48a9dd4012b8e4306" ResourceName="UI/UISounds" />
<Asset Guid="c80cd1bf6fe63204995d43942c964a81" ResourceName="DataTables" />
<Asset Guid="c972fe1ec8a1e0b4292f01575b0b3898" ResourceName="UI/UISprites/Icons" />
<Asset Guid="caa829ab2ffc71340a69253afdf58365" ResourceName="Music/Menu" />
<Asset Guid="cadd0764941c8b646ae79b51d0ea8285" ResourceName="UI/UISprites/Common" />
<Asset Guid="cd819288654317a49853341f3f17ee50" ResourceName="UI/UISprites/Icons" />
<Asset Guid="cddecab03cc92f0439c9b30ebc46981e" ResourceName="DataTables" />
<Asset Guid="ce3f3526692a08a489042130fa47039e" ResourceName="UI/UISprites/Icons" />
<Asset Guid="ce8bbe245fa50b74bac0eea7bff0dc3a" ResourceName="UI/UIItems" />
<Asset Guid="cfe53cf384344bd47a8680f8c5f97a7b" ResourceName="DataTables" />
<Asset Guid="cf05d7e458e9c4c4b8e78442e9277815" ResourceName="UI/UISprites/Icons" />
<Asset Guid="cf3a6f8c44db6fd4f878d3a943b0ee10" ResourceName="DataTables" />
<Asset Guid="d0e2fc18fe036412f8223b3b3d9ad574" ResourceName="URPAssets" />
<Asset Guid="d39d823848837064f84424b6621a3e6b" ResourceName="UI/UISprites/Icons" />
<Asset Guid="d3bdbf0dec5b2864f902c43899017cbc" ResourceName="UI/UISprites/Icons" />
<Asset Guid="d5396f61766946c4db970694836a49fc" ResourceName="UI/UIItems" />
<Asset Guid="d9808401c68af274a8edfbed3d1b53c7" ResourceName="Meshes" />
<Asset Guid="d607728ea8898a048bd3beba30fe5853" ResourceName="UI/UISprites/Icons" />
<Asset Guid="db58965402f12ed47b4dad61a9e48c9d" ResourceName="UI/UISprites/Icons" />
<Asset Guid="dd972bed1926aa4489426be921651ec5" ResourceName="UI/UISprites/Icons" />
<Asset Guid="de92febed48d9284ca086119dae53f81" ResourceName="DataTables" />
<Asset Guid="e03343286e97c824c8e1595b0ccb1000" ResourceName="UI/UISprites/Icons" />
<Asset Guid="e1260c1148f6143b28bae5ace5e9c5d1" ResourceName="URPAssets" />
<Asset Guid="e198b017eb054ef41879410763964076" ResourceName="UI/UISprites/Icons" />
<Asset Guid="e34bb2879297d454dbdf508790b26a6d" ResourceName="DataTables" />
<Asset Guid="e3547eea3b25dbc4bb1170421633a004" ResourceName="UI/UISprites/Icons" />
<Asset Guid="e3616cef1ab22d642903eb59f34feea1" ResourceName="Entities" />
<Asset Guid="e5ca26c53b6ab8a46b52817008d7c7fa" ResourceName="UI/UISprites/Icons" />
<Asset Guid="e6057df910f120543b84d5f7d531ee1a" ResourceName="DataTables" />
<Asset Guid="e634585d5c4544dd297acaee93dc2beb" ResourceName="URPAssets" />
<Asset Guid="e82837c9099f69a48b48fc44eb8d119d" ResourceName="UI/UISprites/Common" />
<Asset Guid="e830964cdb85ff3429bca484c16bab44" ResourceName="UI/UISounds" />
<Asset Guid="e85864330b68dde498dcb6e8711815d3" ResourceName="UI/UISprites/Common" />
<Asset Guid="e8def20f1612e8844b8f0dda497fa5ba" ResourceName="DataTables" />
<Asset Guid="e8904198a64b17443b96e2bf83d7055b" ResourceName="UI/UISprites/Icons" />
<Asset Guid="e8ea787e37ebf4042965ef816d645584" ResourceName="DataTables" />
<Asset Guid="eabb37cb6d738b443b398b701a64cd88" ResourceName="Textures" />
<Asset Guid="f06c2627a191cc1468383483fbafca04" ResourceName="Fonts" />
<Asset Guid="ed15317bec751de488cb1ceb73b08199" ResourceName="DataTables" />
<Asset Guid="edfd1e0fa2ccc4b4e94879d87eada2f7" ResourceName="UI/UISprites/Icons" />
<Asset Guid="ef5fdcfaabb6416449b65150b0b795c9" ResourceName="DataTables" />
<Asset Guid="f17bc7e2694233349a8b22e96c5c43de" ResourceName="Materials" />
<Asset Guid="f2f4df0b7211e4c42a5638273525d8ee" ResourceName="UI/UISprites/Common" />
<Asset Guid="f2f97a713beae744181ba934f9c4113a" ResourceName="DataTables" />
<Asset Guid="f319082377c69d74484c7fa612e50cf8" ResourceName="UI/UISprites/Icons" />
<Asset Guid="f36c72c738c55f741afcd674a0b1245f" ResourceName="Materials" />
<Asset Guid="f3e6e933f81f117478eed5a4baccbc46" ResourceName="UI/UISprites/Icons" />
<Asset Guid="f438a72a91e1c3c4a9ced40888ffec96" ResourceName="UI/UISprites/Icons" />
<Asset Guid="f5b2cc6c7ce8cc5408ad507a4f40af49" ResourceName="Fonts" />
<Asset Guid="f6970f0548631d94788ab0168d22624e" ResourceName="DataTables" />
<Asset Guid="f6985e55f5d7d8340a20469458a322aa" ResourceName="DataTables" />
<Asset Guid="f6bd6a95990ae92469c5c9ab4293064f" ResourceName="UI/UIForms" />
<Asset Guid="f6db5bbdfe0e9894798706814cd6b336" ResourceName="Textures" />
<Asset Guid="f9ef7b3e3b869a348bce0a7852d93e79" ResourceName="Fonts" />
<Asset Guid="fb171366644152948b39e5c17f4b1f39" ResourceName="Fonts" />
<Asset Guid="f774609ceb87ba242860fd2bca3f8c7e" ResourceName="DataTables" />
<Asset Guid="fd3cbf51780694849b9b019b36a3938e" ResourceName="Textures" />
<Asset Guid="fd4e6b4c609edf242a9f07964bdd963d" ResourceName="DataTables" />
<Asset Guid="fe46fcc8cf06a4b47b3cc9c1ad2cdf1b" ResourceName="DataTables" />
</Assets>
</ResourceCollection>
</UnityGameFramework>
-6
View File
@@ -1,6 +0,0 @@
# 敌人基础属性表
# Id EntityTypeId MaxHealth HpAddPerLevel AttackDamage AttackCooldown AttackRange Speed CoinDrop ExpDrop DropPercent Params
# int int int int int float float float int int float string
# 敌人编号 策划备注 敌人实体编号 最大生命 每关卡增加生命 基础伤害 攻击间隔 攻击范围 移动速度 金币掉落 经验掉落 掉落概率 额外参数
1 近战敌人 101 50 50 1 1 1.5 3 5 1 0.3 []
2 远程敌人 102 40 40 1 2 8 2.5 4 2 0.2 []
-15
View File
@@ -1,15 +0,0 @@
# 实体表
# Id AssetName
# int string
# 实体编号 策划备注 资源名称
11 跟随相机 FollowCamera
1001 测试玩家 Player
101 近战敌人 MeleeEnemy
102 远程敌人 RemoteEnemy
201 武器小刀 WeaponKnife
202 武器手枪 WeaponHandgun
203 武器斧头 WeaponSlash
204 武器闪电 WeaponLightning
205 武器长枪 WeaponLance
10001 金币实体 CoinEntity
10002 经验实体 ExpEntity
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: cfe53cf384344bd47a8680f8c5f97a7b
timeCreated: 1528026124
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
-28
View File
@@ -1,28 +0,0 @@
# Id 列1 GoodsType GoodsTypeId
# int GoodsType int
# 商品编号 策划备注 商品类型 商品对应物品Id
101 道具:药 Prop 101
102 小刀 Weapon 1
103 Prop 102
104 Prop 103
105 Prop 104
106 Weapon 2
107 Prop 105
108 Prop 106
109 Prop 107
110 Prop 108
111 Prop 109
112 Prop 110
113 Prop 111
114 Prop 112
115 Prop 113
116 Prop 114
117 Prop 115
118 Prop 116
119 Prop 117
120 Prop 118
121 Prop 119
122 Prop 120
123 Weapon 3
124 Weapon 4
125 Weapon 5
-14
View File
@@ -1,14 +0,0 @@
# 关卡配置表
# Id EnemyTypes EntityCounts Interval Duration
# int int[] int[] float[] int
# 关卡号 策划备注 敌人类型 每次出怪数量 每次出怪间隔 关卡时间
1 第一关 [1,2] [5,2] [4,5] 60
2 第二关 [1] [10] [3] 60
3 第三关 [1] [10] [3] 60
4 第四关 [1] [10] [3] 60
5 第五关 [1] [10] [3] 60
6 第六关 [1] [10] [3] 60
7 第七关 [1] [10] [3] 60
8 第八关 [1] [10] [3] 60
9 第九关 [1] [10] [3] 60
10 第十关 [1] [10] [3] 60
@@ -1,7 +0,0 @@
# 关卡道具品质掉落概率表
# Id LevelMin LevelMax WhiteWeight GreenWeight BlueWeight PurpleWeight RedWeight SumWeight
# int float float float float float float float float
# 概率编号 策划备注 关卡左区间 关卡右区间 白色掉落率 绿色掉落率 蓝色掉落率 紫色掉落率 红色掉落率 总掉落率(不需要读取)
1 1 3 75 20 4 1 0 100
2 4 5 30 50 15 4 1 100
3 6 10 10 20 40 20 10 100
@@ -1,22 +0,0 @@
# 道具表
# Id Title IconAssetName Rarity Modifiers
# int string string RarityType StatModifier[]
# 奖励编号 策划备注 奖励名 图标资源名 道具品质 道具属性
101 测试道具 肌肉 Almighty_Icon White [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
102 牙齿 Almighty_Icon White [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
103 脑 Almighty_Icon White [{"StatType":"Critical","Value":0.05,"IsPercent":true}]
104 鼻子 Almighty_Icon White [{"StatType":"AbsorbRange","Value":0.05,"IsPercent":true}]
105 腿 Almighty_Icon White [{"StatType":"MovementSpeed","Value":0.05,"IsPercent":true}]
106 眼睛 Almighty_Icon White [{"StatType":"MaxHealth","Value":0.05,"IsPercent":true}]
107 肌肉 Almighty_Icon Green [{"StatType":"Attack","Value":0.15,"IsPercent":true}]
108 牙齿 Almighty_Icon Green [{"StatType":"Attack","Value":0.15,"IsPercent":true}]
109 脑 Almighty_Icon Green [{"StatType":"Critical","Value":0.15,"IsPercent":true}]
110 鼻子 Almighty_Icon Green [{"StatType":"AbsorbRange","Value":0.15,"IsPercent":true}]
111 腿 Almighty_Icon Green [{"StatType":"MovementSpeed","Value":0.15,"IsPercent":true}]
112 眼睛 Almighty_Icon Green [{"StatType":"MaxHealth","Value":0.15,"IsPercent":true}]
113 肌肉 Almighty_Icon Blue [{"StatType":"Attack","Value":0.3,"IsPercent":true}]
114 牙齿 Almighty_Icon Blue [{"StatType":"Attack","Value":0.3,"IsPercent":true}]
115 脑 Almighty_Icon Blue [{"StatType":"Critical","Value":0.3,"IsPercent":true}]
116 鼻子 Almighty_Icon Blue [{"StatType":"AbsorbRange","Value":0.3,"IsPercent":true}]
117 腿 Almighty_Icon Blue [{"StatType":"MovementSpeed","Value":0.3,"IsPercent":true}]
118 眼睛 Almighty_Icon Blue [{"StatType":"MaxHealth","Value":0.3,"IsPercent":true}]
@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: e8def20f1612e8844b8f0dda497fa5ba
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
-7
View File
@@ -1,7 +0,0 @@
# 音乐配置表
# Id AssetName
# int string
# 音乐编号 策划备注 资源名称
1 菜单音乐 music_menu
2 战斗音乐 music_background
3 关于音乐 music_about
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 315e8ed2db27c254cb3366ff0793cd90
timeCreated: 1528026124
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
-24
View File
@@ -1,24 +0,0 @@
# 道具表
# Id Title IconAssetName Rarity Price PriceRandomPercent Modifiers
# int string string RarityType int float StatModifier[]
# 道具编号 策划备注 道具名 图标资源名 道具品质 道具价格 价格浮动 道具属性
101 道具_1 Almighty_Icon White 119 0.0500000007450581 [{"StatType":"Attack","Value":10,"IsPercent":false},{"StatType":"Defense","Value":12,"IsPercent":false}]
102 道具_2 Almighty_Icon Green 225 0.0799999982118607 [{"StatType":"MaxHealth","Value":53,"IsPercent":false},{"StatType":"AttackSpeed","Value":0.09,"IsPercent":true},{"StatType":"Attack","Value":11,"IsPercent":false}]
103 道具_3 Almighty_Icon Blue 329 0.100000001490116 [{"StatType":"Critical","Value":15,"IsPercent":false},{"StatType":"CriticalDamage","Value":21,"IsPercent":false},{"StatType":"Defense","Value":23,"IsPercent":false}]
104 道具_4 Almighty_Icon Red 423 0.119999997317791 [{"StatType":"Defense","Value":79,"IsPercent":false}]
105 道具_5 Almighty_Icon White 120 0.0500000007450581 [{"StatType":"MovementSpeed","Value":0.8,"IsPercent":false},{"StatType":"Attack","Value":10,"IsPercent":false}]
106 道具_6 Almighty_Icon Green 195 0.0799999982118607 [{"StatType":"Dodge","Value":10,"IsPercent":false},{"StatType":"Attack","Value":12,"IsPercent":false},{"StatType":"MaxHealth","Value":44,"IsPercent":false}]
107 道具_7 Almighty_Icon Blue 335 0.100000001490116 [{"StatType":"Defense","Value":62,"IsPercent":false}]
108 道具_8 Almighty_Icon Red 433 0.119999997317791 [{"StatType":"Attack","Value":44,"IsPercent":false},{"StatType":"Dodge","Value":27,"IsPercent":false}]
109 道具_9 Almighty_Icon White 121 0.0500000007450581 [{"StatType":"MaxHealth","Value":32,"IsPercent":false},{"StatType":"Attack","Value":7,"IsPercent":false},{"StatType":"Defense","Value":8,"IsPercent":false}]
110 道具_10 Almighty_Icon Green 198 0.0799999982118607 [{"StatType":"AttackSpeed","Value":0.19,"IsPercent":true}]
111 道具_11 Almighty_Icon Blue 341 0.100000001490116 [{"StatType":"Attack","Value":57,"IsPercent":false}]
112 道具_12 Almighty_Icon Red 443 0.119999997317791 [{"StatType":"MaxHealth","Value":139,"IsPercent":false},{"StatType":"Critical","Value":27,"IsPercent":false}]
113 道具_13 Almighty_Icon White 122 0.0500000007450581 [{"StatType":"Critical","Value":5,"IsPercent":false},{"StatType":"Dodge","Value":7,"IsPercent":false},{"StatType":"MovementSpeed","Value":0.6,"IsPercent":false}]
114 道具_14 Almighty_Icon Green 201 0.0799999982118607 [{"StatType":"Defense","Value":38,"IsPercent":false}]
115 道具_15 Almighty_Icon Blue 346 0.100000001490116 [{"StatType":"MovementSpeed","Value":1.6,"IsPercent":false},{"StatType":"Defense","Value":32,"IsPercent":false}]
116 道具_16 Almighty_Icon Red 454 0.119999997317791 [{"StatType":"Dodge","Value":28,"IsPercent":false},{"StatType":"Defense","Value":24,"IsPercent":false},{"StatType":"Attack","Value":24,"IsPercent":false}]
117 道具_17 Almighty_Icon White 124 0.0500000007450581 [{"StatType":"Defense","Value":23,"IsPercent":false}]
118 道具_18 Almighty_Icon Green 204 0.0799999982118607 [{"StatType":"Attack","Value":17,"IsPercent":false},{"StatType":"MaxHealth","Value":69,"IsPercent":false}]
119 道具_19 Almighty_Icon Blue 352 0.100000001490116 [{"StatType":"MaxHealth","Value":74,"IsPercent":false},{"StatType":"Attack","Value":19,"IsPercent":false},{"StatType":"Dodge","Value":20,"IsPercent":false}]
120 道具_20 Almighty_Icon Red 464 0.119999997317791 [{"StatType":"AttackSpeed","Value":0.15,"IsPercent":true},{"StatType":"Attack","Value":29,"IsPercent":false},{"StatType":"Defense","Value":27,"IsPercent":false}]
-7
View File
@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 28988b1366cba3e4b947bb60d6b118f9
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
-6
View File
@@ -1,6 +0,0 @@
# 角色表 ROUND(100*(1.1^L3),0)
# Id RoleName IconAssetName MaxHp Speed Coin WeaponCapacity InitialProperty InitialItem Lv0 Lv1 Lv2 Lv3 Lv4 Lv5 Lv6 Lv7 Lv8 Lv9 Lv10 Lv11 Lv12 Lv13 Lv14 Lv15 Lv16 Lv17 Lv18 Lv19 Lv20 Lv21 Lv22 Lv23 Lv24 Lv25 Lv26 Lv27 Lv28 Lv29 Lv30 Lv31 Lv32 Lv33 Lv34 Lv35 Lv36 Lv37 Lv38 Lv39 Lv40 Lv41 Lv42 Lv43 Lv44 Lv45 Lv46 Lv47 Lv48 Lv49 Lv50 Lv51 Lv52 Lv53 Lv54 Lv55 Lv56 Lv57 Lv58 Lv59 Lv60
# int string string int float int int Modifier[] Item[] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
# 角色编号 策划备注 角色名称 图标资源名 初始最大生命 初始速度 初始金币 最大持有武器数 初始额外属性 初始额外物品 每级升级所需经验
101 全能者 全能者 Almighty_Icon 100 6 10 6 [{"StatType":"MovementSpeed","Value":0.5,"IsPercent":false},{"StatType":"MaxHealth","Value":0.2,"IsPercent":true}] [] 100 110 121 133 146 161 177 195 214 236 259 285 314 345 380 418 459 505 556 612 673 740 814 895 985 1083 1192 1311 1442 1586 1745 1919 2111 2323 2555 2810 3091 3400 3740 4114 4526 4979 5476 6024 6626 7289 8018 8820 9702 10672 11739 12913 14204 15625 17187 18906 20797 22876 25164 27680 30448
102 老人 老人 Old_Man_Icon 200 4 5 6 [] [] 100 112 125 140 157 176 197 221 248 277 311 348 390 436 489 547 613 687 769 861 965 1080 1210 1355 1518 1700 1904 2132 2388 2675 2996 3356 3758 4209 4714 5280 5914 6623 7418 8308 9305 10422 11672 13073 14642 16399 18367 20571 23039 25804 28900 32368 36252 40603 45475 50932 57044 63889 71556 80143 89760
-7
View File
@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 65ffa78c2e8cbb346826cc2f3a7b6ea4
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
-8
View File
@@ -1,8 +0,0 @@
# 场景配置表
# Id AssetName BackgroundMusicId
# int string int
# 场景编号 备注 资源名称 背景音乐编号
1 菜单场景 Menu 1
2 战斗场景 Main 2
3 压力测试场景 StressTest 0
4 游戏主场景 Game 0
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: a71f8bb1b1b2c51438e2bafc884cb02c
timeCreated: 1528026124
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
-9
View File
@@ -1,9 +0,0 @@
# 声音配置表
# Id AssetName Priority Loop Volume SpatialBlend MaxDistance
# int string int bool float float float
# 声音编号 策划备注 资源名称 优先级(默认0,128最高,-128最低) 是否循环 音量(0~1) 声音空间混合量(0为2D,1为3D,中间值混合效果) 声音最大距离
10000 玩家子弹 weapon_player 0 False 1 0 100
10001 敌人子弹 weapon_enemy 0 False 1 0 100
20000 玩家爆炸 explosion_player 0 False 1 0 100
20001 敌人爆炸 explosion_enemy 0 False 1 0 100
20002 小行星爆炸 explosion_asteroid 0 False 1 0 100
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 372a8b1e52bedc64b9207b12d167afaa
timeCreated: 1528026124
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
-14
View File
@@ -1,14 +0,0 @@
# 界面配置表
# Id AssetName UIGroupName AllowMultiInstance PauseCoveredUIForm
# int string string bool bool
# 界面编号 策划备注 资源名称 界面组名称 是否允许多个界面实例 是否暂停被其覆盖的界面
1 弹出框 DialogForm Default True True
100 主菜单 MenuForm Default False True
101 设置 SettingForm Default False True
102 关于 AboutForm Default False True
200 开始菜单 StartMenuForm Default False True
201 角色选择页 SelectRoleForm Default False True
202 游戏商店页 ShopForm Default False True
203 游戏HUD HudForm HUD False True
204 角色升级奖励页 LevelUpForm Default False True
205 物品信息展示 DisplayItemInfoForm Default False False
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 352da872791696c48af3b21132e3e3c3
timeCreated: 1528026124
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
-6
View File
@@ -1,6 +0,0 @@
# 声音配置表
# Id AssetName Priority Volume
# int string int float
# 声音编号 策划备注 资源名称 优先级(默认0,128最高,-128最低) 音量(0~1)
10000 选择音效 select 0 1
10001 点击音效 click 0 1
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: f2f97a713beae744181ba934f9c4113a
timeCreated: 1528026124
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
-8
View File
@@ -1,8 +0,0 @@
# Id 列1 EntityTypeId Title IconAssetName Rarity Price PriceRandomPercent Attack Cooldown AttackRange AttackSoundId Pramas Modifiers
# int int string string RarityType int float int float float int string[] StatModifier[]
# 武器编号 策划备注 武器实体编号 武器名 图标资源名 道具品质 武器价格 价格浮动 伤害 冷却 范围 攻击音效编号 额外参数 额外属性
1 玩家武器 201 小刀 Almighty_Icon White 120 0.05 100 1.5 5 10000 {"hitRadius":2} []
2 202 手枪 Almighty_Icon White 130 0.05 120 1 15 10000 {} []
3 203 斧头 Almighty_Icon White 100 0.1 150 2 5 10000 {"sectorAngle":120} []
4 204 闪电 Almighty_Icon White 150 0.08 80 3 12 10000 {"hitRadius":3} []
5 205 长枪 Almighty_Icon White 100 0.1 100 1.5 5 10000 {"hitHalfWidth":0.7,"pierceLength":4.5,"hitHeight":0.5,"hitCenterYOffset":0}
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: ab4774faf71b57a40a29a9e902403fe3
timeCreated: 1528026124
licenseType: Pro
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 44cfa1c448225554c961ad6eb667d80b
guid: e34bb2879297d454dbdf508790b26a6d
TextScriptImporter:
externalObjects: {}
userData:
@@ -0,0 +1,114 @@
[
{
"enemyType": 1,
"logicType": "MeleeEnemy",
"maxHealth": 50,
"hpAddPerLevel": 50,
"attackDamage": 1,
"attackCooldown": 1,
"attackRange": 1.5,
"speed": 3,
"coinDrop": 5,
"expDrop": 20,
"dropPercent": 0.3,
"scale": 1,
"color": "#44FF44",
"prefab": "MeleeEnemy"
},
{
"enemyType": 2,
"logicType": "RemoteEnemy",
"maxHealth": 40,
"hpAddPerLevel": 40,
"attackDamage": 1,
"attackCooldown": 2,
"attackRange": 8,
"speed": 2.5,
"coinDrop": 4,
"expDrop": 20,
"dropPercent": 0.2,
"scale": 1,
"color": "#FF44FF",
"prefab": "RemoteEnemy"
},
{
"enemyType": 3,
"logicType": "BatEnemy",
"maxHealth": 20,
"hpAddPerLevel": 15,
"attackDamage": 1,
"attackCooldown": 0.8,
"attackRange": 1.2,
"speed": 6,
"coinDrop": 3,
"expDrop": 25,
"dropPercent": 0.4,
"scale": 0.5,
"color": "#FF4444",
"prefab": "MeleeEnemy"
},
{
"enemyType": 4,
"logicType": "SkeletonEnemy",
"maxHealth": 80,
"hpAddPerLevel": 60,
"attackDamage": 2,
"attackCooldown": 1.2,
"attackRange": 1.8,
"speed": 2.5,
"coinDrop": 6,
"expDrop": 25,
"dropPercent": 0.3,
"scale": 1.3,
"color": "#CCCCCC",
"prefab": "MeleeEnemy"
},
{
"enemyType": 5,
"logicType": "SkeletonGiantEnemy",
"maxHealth": 200,
"hpAddPerLevel": 120,
"attackDamage": 3,
"attackCooldown": 2.5,
"attackRange": 2.5,
"speed": 1.5,
"coinDrop": 10,
"expDrop": 30,
"dropPercent": 0.25,
"scale": 2,
"color": "#888888",
"prefab": "MeleeEnemy"
},
{
"enemyType": 6,
"logicType": "GhostEnemy",
"maxHealth": 30,
"hpAddPerLevel": 25,
"attackDamage": 1,
"attackCooldown": 1.5,
"attackRange": 10,
"speed": 3,
"coinDrop": 5,
"expDrop": 30,
"dropPercent": 0.3,
"scale": 0.8,
"color": "#88CCFF",
"prefab": "RemoteEnemy"
},
{
"enemyType": 7,
"logicType": "FireMageEnemy",
"maxHealth": 60,
"hpAddPerLevel": 45,
"attackDamage": 2,
"attackCooldown": 1,
"attackRange": 12,
"speed": 2,
"coinDrop": 8,
"expDrop": 30,
"dropPercent": 0.2,
"scale": 1.2,
"color": "#FF8800",
"prefab": "RemoteEnemy"
}
]
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 0080b46050fc460cb6d6c7fc8d4e8c27
guid: ed15317bec751de488cb1ceb73b08199
TextScriptImporter:
externalObjects: {}
userData:
@@ -0,0 +1,4 @@
FollowCameraFollowCamera.prefabPlayer␍Player.prefab
MeleeEnemyMeleeEnemy.prefab RemoteEnemyRemoteEnemy.prefab WeaponKnifeWeaponKnife.prefab␍WeaponHandgunWeaponHandgun.prefab WeaponSlashWeaponSlash.prefabWeaponLightningWeaponLightning.prefab WeaponLanceWeaponLance.prefab
CoinEntityCoinEntity.prefab ExpEntityExpEntity.prefab
ProjectileProjectile.prefab
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7e6ecd46ba625fb43ab2b4bc52dcb3c1
guid: fe46fcc8cf06a4b47b3cc9c1ad2cdf1b
TextScriptImporter:
externalObjects: {}
userData:
@@ -0,0 +1,50 @@
[
{
"assetName": "FollowCamera",
"prefabPath": "FollowCamera.prefab"
},
{
"assetName": "Player",
"prefabPath": "Player.prefab"
},
{
"assetName": "MeleeEnemy",
"prefabPath": "MeleeEnemy.prefab"
},
{
"assetName": "RemoteEnemy",
"prefabPath": "RemoteEnemy.prefab"
},
{
"assetName": "WeaponKnife",
"prefabPath": "WeaponKnife.prefab"
},
{
"assetName": "WeaponHandgun",
"prefabPath": "WeaponHandgun.prefab"
},
{
"assetName": "WeaponSlash",
"prefabPath": "WeaponSlash.prefab"
},
{
"assetName": "WeaponLightning",
"prefabPath": "WeaponLightning.prefab"
},
{
"assetName": "WeaponLance",
"prefabPath": "WeaponLance.prefab"
},
{
"assetName": "CoinEntity",
"prefabPath": "CoinEntity.prefab"
},
{
"assetName": "ExpEntity",
"prefabPath": "ExpEntity.prefab"
},
{
"assetName": "Projectile",
"prefabPath": "Projectile.prefab"
}
]
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 414af21e34e96c343a4d2a0613175657
guid: 78c15b1ef3ec02044a8754c561f47ff9
TextScriptImporter:
externalObjects: {}
userData:
@@ -0,0 +1,3 @@
 HUDHpText {0} / {1}
HUDExpTextLv.{0} HUDCoinText <sprite name="coin" index=0> {0}HUDCPUTimeCostTextCPU Frame: {0:F2} msHUDEnemyCountText
Enemy: {0}LevelUpRefreshCostText(刷新 -{0} <sprite name="coin" index=0>␍ShopTitleText商店 (Lv.{0})ShopContinueButtonText继续 (Lv.{0})ShopPlayerCoinText<sprite name="coin"> {0}ShopRefreshCostText 刷新 -{0} <sprite name="coin">WeaponListTitle武器 ({0}/{1})␍PropListTitle 道具 ({0})ShopGoodsCostText {0} <sprite name="coin" index=0>TooltipRecycleButtonText'出售 {0} <sprite name="coin" index=0>
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 09ee293d7e6c7b5478b17ac940bcfb8e
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,58 @@
[
{
"name": "HUDHpText",
"format": "{0} / {1}"
},
{
"name": "HUDExpText",
"format": "Lv.{0}"
},
{
"name": "HUDCoinText",
"format": "<sprite name=\"coin\" index=0> {0}"
},
{
"name": "HUDCPUTimeCostText",
"format": "CPU Frame: {0:F2} ms"
},
{
"name": "HUDEnemyCountText",
"format": "Enemy: {0}"
},
{
"name": "LevelUpRefreshCostText",
"format": "刷新 -{0} <sprite name=\"coin\" index=0>"
},
{
"name": "ShopTitleText",
"format": "商店 (Lv.{0})"
},
{
"name": "ShopContinueButtonText",
"format": "继续 (Lv.{0})"
},
{
"name": "ShopPlayerCoinText",
"format": "<sprite name=\"coin\"> {0}"
},
{
"name": "ShopRefreshCostText",
"format": "刷新 -{0} <sprite name=\"coin\">"
},
{
"name": "WeaponListTitle",
"format": "武器 ({0}/{1})"
},
{
"name": "PropListTitle",
"format": "道具 ({0})"
},
{
"name": "ShopGoodsCostText",
"format": "{0} <sprite name=\"coin\" index=0>"
},
{
"name": "TooltipRecycleButtonText",
"format": "出售 {0} <sprite name=\"coin\" index=0>"
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5c1d742cd5d626e4e867ec0ca8482db7
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3e2e8566c4832d94fa488aac86464e23
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,38 @@
[
{
"weaponCapacity": 6,
"propMaxCount": -1,
"playerEntity": "Player",
"absorbSpeed": 12,
"collectDistance": 0.5,
"defaultAbsorbRange": 4,
"weaponRecycleRate": 0.3,
"shopGoodsCount": 4,
"shopPriceRandomPercent": 0.05,
"shopMinPrice": 1,
"levelUpRefreshPriceBase": 2,
"levelUpRewardCount": 4,
"spawnEnemyMaxCount": 5000,
"enemySpawnDistanceMin": 14,
"enemySpawnDistanceMax": 18,
"weaponRotateSpeed": 5,
"weaponBaseCrit": 0.05,
"playerGroupName": "Player",
"enemyGroupName": "Enemy",
"projectileGroupName": "Projectile",
"dropGroupName": "Drop",
"effectGroupNmae": "Effect",
"minDamage": 1,
"maxDodgeRate": 900,
"minSpawnRateScale": 100,
"projectileLifeTime": 3000,
"projectileHeightOffset": 600,
"projectileSpeed": 12000,
"projectileEntity": "Projectile",
"damageTextYOffset": 1100,
"entityAsyncTimeout": 30000,
"critMultiplier": 1.5,
"enemyBodyRadius": 450,
"enemySeparationIterations": 2
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a17766a004c520a42b9257af2d83e78a
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: cf3a6f8c44db6fd4f878d3a943b0ee10
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,152 @@
[
{
"id": 1001,
"goodsType": 1,
"propId": 1001,
"weaponType": 0
},
{
"id": 1002,
"goodsType": 2,
"propId": 0,
"weaponType": 1
},
{
"id": 1003,
"goodsType": 1,
"propId": 1002,
"weaponType": 0
},
{
"id": 1004,
"goodsType": 1,
"propId": 1003,
"weaponType": 0
},
{
"id": 1005,
"goodsType": 1,
"propId": 1004,
"weaponType": 0
},
{
"id": 1006,
"goodsType": 2,
"propId": 0,
"weaponType": 2
},
{
"id": 1007,
"goodsType": 1,
"propId": 1005,
"weaponType": 0
},
{
"id": 1008,
"goodsType": 1,
"propId": 1006,
"weaponType": 0
},
{
"id": 1009,
"goodsType": 1,
"propId": 1007,
"weaponType": 0
},
{
"id": 1010,
"goodsType": 1,
"propId": 1008,
"weaponType": 0
},
{
"id": 1011,
"goodsType": 1,
"propId": 1009,
"weaponType": 0
},
{
"id": 1012,
"goodsType": 1,
"propId": 1010,
"weaponType": 0
},
{
"id": 1013,
"goodsType": 1,
"propId": 1011,
"weaponType": 0
},
{
"id": 1014,
"goodsType": 1,
"propId": 1012,
"weaponType": 0
},
{
"id": 1015,
"goodsType": 1,
"propId": 1013,
"weaponType": 0
},
{
"id": 1016,
"goodsType": 1,
"propId": 1014,
"weaponType": 0
},
{
"id": 1017,
"goodsType": 1,
"propId": 1015,
"weaponType": 0
},
{
"id": 1018,
"goodsType": 1,
"propId": 1016,
"weaponType": 0
},
{
"id": 1019,
"goodsType": 1,
"propId": 1017,
"weaponType": 0
},
{
"id": 1020,
"goodsType": 1,
"propId": 1018,
"weaponType": 0
},
{
"id": 1021,
"goodsType": 1,
"propId": 1019,
"weaponType": 0
},
{
"id": 1022,
"goodsType": 1,
"propId": 1020,
"weaponType": 0
},
{
"id": 1023,
"goodsType": 2,
"propId": 0,
"weaponType": 3
},
{
"id": 1024,
"goodsType": 2,
"propId": 0,
"weaponType": 4
},
{
"id": 1025,
"goodsType": 2,
"propId": 0,
"weaponType": 5
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e8ea787e37ebf4042965ef816d645584
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,5 @@
� ��<�Ќ<�Ќ�И<�И� <
�Ф�а<�И�ЌF�И�ИF�И�@��P �Ф�p�ИZ

�а�@�И� x
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 293fc547daf25ad499fc1c6c905fce41
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,177 @@
[
{
"id": 1,
"enemySpawnConfigs": [
{
"enemyType": 1,
"enemyCount": 5,
"interval": 4000
},
{
"enemyType": 2,
"enemyCount": 2,
"interval": 5000
}
],
"duration": 60
},
{
"id": 2,
"enemySpawnConfigs": [
{
"enemyType": 1,
"enemyCount": 8,
"interval": 3500
}
],
"duration": 60
},
{
"id": 3,
"enemySpawnConfigs": [
{
"enemyType": 1,
"enemyCount": 6,
"interval": 3500
},
{
"enemyType": 3,
"enemyCount": 4,
"interval": 3000
}
],
"duration": 60
},
{
"id": 4,
"enemySpawnConfigs": [
{
"enemyType": 4,
"enemyCount": 6,
"interval": 3000
},
{
"enemyType": 2,
"enemyCount": 4,
"interval": 4000
}
],
"duration": 60
},
{
"id": 5,
"enemySpawnConfigs": [
{
"enemyType": 1,
"enemyCount": 10,
"interval": 2500
},
{
"enemyType": 3,
"enemyCount": 5,
"interval": 2000
}
],
"duration": 60
},
{
"id": 6,
"enemySpawnConfigs": [
{
"enemyType": 4,
"enemyCount": 6,
"interval": 3000
},
{
"enemyType": 6,
"enemyCount": 5,
"interval": 3500
}
],
"duration": 70
},
{
"id": 7,
"enemySpawnConfigs": [
{
"enemyType": 3,
"enemyCount": 5,
"interval": 3000
},
{
"enemyType": 6,
"enemyCount": 4,
"interval": 3000
}
],
"duration": 70
},
{
"id": 8,
"enemySpawnConfigs": [
{
"enemyType": 1,
"enemyCount": 8,
"interval": 3000
},
{
"enemyType": 5,
"enemyCount": 2,
"interval": 8000
},
{
"enemyType": 7,
"enemyCount": 3,
"interval": 5000
}
],
"duration": 80
},
{
"id": 9,
"enemySpawnConfigs": [
{
"enemyType": 4,
"enemyCount": 8,
"interval": 2500
},
{
"enemyType": 5,
"enemyCount": 3,
"interval": 6000
},
{
"enemyType": 7,
"enemyCount": 4,
"interval": 3000
}
],
"duration": 90
},
{
"id": 10,
"enemySpawnConfigs": [
{
"enemyType": 3,
"enemyCount": 10,
"interval": 2000
},
{
"enemyType": 4,
"enemyCount": 3,
"interval": 8000
},
{
"enemyType": 6,
"enemyCount": 5,
"interval": 3000
},
{
"enemyType": 7,
"enemyCount": 4,
"interval": 4000
}
],
"duration": 120
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6e2e48e91e9a4c04eb0d927dfcca0b75
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f6970f0548631d94788ab0168d22624e
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,82 @@
[
{
"Id": 1001,
"WhiteWeight": 75,
"GreenWeight": 20,
"BlueWeight": 4,
"PurpleWeight": 1,
"RedWeight": 0
},
{
"Id": 1002,
"WhiteWeight": 75,
"GreenWeight": 20,
"BlueWeight": 4,
"PurpleWeight": 1,
"RedWeight": 0
},
{
"Id": 1003,
"WhiteWeight": 75,
"GreenWeight": 20,
"BlueWeight": 4,
"PurpleWeight": 1,
"RedWeight": 0
},
{
"Id": 1004,
"WhiteWeight": 30,
"GreenWeight": 50,
"BlueWeight": 15,
"PurpleWeight": 4,
"RedWeight": 1
},
{
"Id": 1005,
"WhiteWeight": 30,
"GreenWeight": 50,
"BlueWeight": 15,
"PurpleWeight": 4,
"RedWeight": 1
},
{
"Id": 1006,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
},
{
"Id": 1007,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
},
{
"Id": 1008,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
},
{
"Id": 1009,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
},
{
"Id": 1010,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 76b24e5957c874a48bab79b65990b362
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1 @@
 全能者dny€…€’€¡€±€Ã€Ö€ì���:�Y�|�¢�Ë�ù‚,‚d‚¡‚äƒ.ƒƒÙ„;„¨……¢†2†Ñ‡ˆ?‰‰ûŠúŒ�HŽœ�‘®“s•d—ˆ™âœyŸR¢t¥æ©°­Û²q·|½ ÀC#ÀIÚÀQ=ÀY\ÀbLÀl Àvðè€�人dp}€Œ€�€°€Å€Ý€ø��7�\�†�´�é‚#‚e‚¯ƒƒ]ƒÅ„8„º…K…‡pˆT‰TŠs‹´�Ž®�q’j” —™ßœú t¤Y¨¶­˜³¹2À@ÀG¿ÀP[ÀYÿÀdÌÀpäÀ~pÀ�œÀž›À±£ÀÆôÀÞÔÀù‘Á„Á9Á^ 
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 887d5a8d5320cb44b985ee23d43d9daa
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,130 @@
[
{
"key": "全能者",
"Lv0": 100,
"Lv1": 110,
"Lv2": 121,
"Lv3": 133,
"Lv4": 146,
"Lv5": 161,
"Lv6": 177,
"Lv7": 195,
"Lv8": 214,
"Lv9": 236,
"Lv10": 259,
"Lv11": 285,
"Lv12": 314,
"Lv13": 345,
"Lv14": 380,
"Lv15": 418,
"Lv16": 459,
"Lv17": 505,
"Lv18": 556,
"Lv19": 612,
"Lv20": 673,
"Lv21": 740,
"Lv22": 814,
"Lv23": 895,
"Lv24": 985,
"Lv25": 1083,
"Lv26": 1192,
"Lv27": 1311,
"Lv28": 1442,
"Lv29": 1586,
"Lv30": 1745,
"Lv31": 1919,
"Lv32": 2111,
"Lv33": 2323,
"Lv34": 2555,
"Lv35": 2810,
"Lv36": 3091,
"Lv37": 3400,
"Lv38": 3740,
"Lv39": 4114,
"Lv40": 4526,
"Lv41": 4979,
"Lv42": 5476,
"Lv43": 6024,
"Lv44": 6626,
"Lv45": 7289,
"Lv46": 8018,
"Lv47": 8820,
"Lv48": 9702,
"Lv49": 10672,
"Lv50": 11739,
"Lv51": 12913,
"Lv52": 14204,
"Lv53": 15625,
"Lv54": 17187,
"Lv55": 18906,
"Lv56": 20797,
"Lv57": 22876,
"Lv58": 25164,
"Lv59": 27680,
"Lv60": 30448
},
{
"key": "老人",
"Lv0": 100,
"Lv1": 112,
"Lv2": 125,
"Lv3": 140,
"Lv4": 157,
"Lv5": 176,
"Lv6": 197,
"Lv7": 221,
"Lv8": 248,
"Lv9": 277,
"Lv10": 311,
"Lv11": 348,
"Lv12": 390,
"Lv13": 436,
"Lv14": 489,
"Lv15": 547,
"Lv16": 613,
"Lv17": 687,
"Lv18": 769,
"Lv19": 861,
"Lv20": 965,
"Lv21": 1080,
"Lv22": 1210,
"Lv23": 1355,
"Lv24": 1518,
"Lv25": 1700,
"Lv26": 1904,
"Lv27": 2132,
"Lv28": 2388,
"Lv29": 2675,
"Lv30": 2996,
"Lv31": 3356,
"Lv32": 3758,
"Lv33": 4209,
"Lv34": 4714,
"Lv35": 5280,
"Lv36": 5914,
"Lv37": 6623,
"Lv38": 7418,
"Lv39": 8308,
"Lv40": 9305,
"Lv41": 10422,
"Lv42": 11672,
"Lv43": 13073,
"Lv44": 14642,
"Lv45": 16399,
"Lv46": 18367,
"Lv47": 20571,
"Lv48": 23039,
"Lv49": 25804,
"Lv50": 28900,
"Lv51": 32368,
"Lv52": 36252,
"Lv53": 40603,
"Lv54": 45475,
"Lv55": 50932,
"Lv56": 57044,
"Lv57": 63889,
"Lv58": 71556,
"Lv59": 80143,
"Lv60": 89760
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2285810b642292949997fce96eabf85c
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1 @@
┐ИХ┌▄Х┌┴млL=─хХ┌▄Х┌┴┐ЙГ┴≥И╫©млL=─хГ┴≥И╫©┐КХ└▒ млL=─хХ└▒┐ЛИ╪╩Е╜░млL=─хИ╪╩Е╜░┐МХ┘©млL=─хХ┘©┐НГ°╪Г²⌡млL=─хГ°╪Г²⌡┐ОХ┌▄Х┌┴ ≥>─хХ┌▄Х┌┴┐ПГ┴≥И╫© ≥>─хГ┴≥И╫©┐ЯХ└▒  ≥>─хХ└▒┐РИ╪╩Е╜░ ≥>─хИ╪╩Е╜░┐СХ┘© ≥>─хХ┘©┐ТГ°╪Г²⌡ ≥>─хГ°╪Г²⌡┐УХ┌▄Х┌┴ ≥≥>─хХ┌▄Х┌┴┐ЖГ┴≥И╫© ≥≥>─хГ┴≥И╫©┐ВХ└▒  ≥≥>─хХ└▒┐ЬИ╪╩Е╜░ ≥≥>─хИ╪╩Е╜░┐ЫХ┘© ≥≥>─хХ┘©┐ЗГ°╪Г²⌡ ≥≥>─хГ°╪Г²⌡
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: cddecab03cc92f0439c9b30ebc46981e
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,236 @@
[
{
"id": 1001,
"title": "肌肉",
"rarity": 1,
"statModifierConfigs": [
{
"statType": 4,
"value": 0.05,
"modifierType": 200
}
],
"sprite": "肌肉"
},
{
"id": 1002,
"title": "牙齿",
"rarity": 1,
"statModifierConfigs": [
{
"statType": 4,
"value": 0.05,
"modifierType": 200
}
],
"sprite": "牙齿"
},
{
"id": 1003,
"title": "脑",
"rarity": 1,
"statModifierConfigs": [
{
"statType": 9,
"value": 0.05,
"modifierType": 200
}
],
"sprite": "脑"
},
{
"id": 1004,
"title": "鼻子",
"rarity": 1,
"statModifierConfigs": [
{
"statType": 8,
"value": 0.05,
"modifierType": 200
}
],
"sprite": "鼻子"
},
{
"id": 1005,
"title": "腿",
"rarity": 1,
"statModifierConfigs": [
{
"statType": 14,
"value": 0.05,
"modifierType": 200
}
],
"sprite": "腿"
},
{
"id": 1006,
"title": "眼睛",
"rarity": 1,
"statModifierConfigs": [
{
"statType": 1,
"value": 0.05,
"modifierType": 200
}
],
"sprite": "眼睛"
},
{
"id": 1007,
"title": "肌肉",
"rarity": 2,
"statModifierConfigs": [
{
"statType": 4,
"value": 0.15,
"modifierType": 200
}
],
"sprite": "肌肉"
},
{
"id": 1008,
"title": "牙齿",
"rarity": 2,
"statModifierConfigs": [
{
"statType": 4,
"value": 0.15,
"modifierType": 200
}
],
"sprite": "牙齿"
},
{
"id": 1009,
"title": "脑",
"rarity": 2,
"statModifierConfigs": [
{
"statType": 9,
"value": 0.15,
"modifierType": 200
}
],
"sprite": "脑"
},
{
"id": 1010,
"title": "鼻子",
"rarity": 2,
"statModifierConfigs": [
{
"statType": 8,
"value": 0.15,
"modifierType": 200
}
],
"sprite": "鼻子"
},
{
"id": 1011,
"title": "腿",
"rarity": 2,
"statModifierConfigs": [
{
"statType": 14,
"value": 0.15,
"modifierType": 200
}
],
"sprite": "腿"
},
{
"id": 1012,
"title": "眼睛",
"rarity": 2,
"statModifierConfigs": [
{
"statType": 1,
"value": 0.15,
"modifierType": 200
}
],
"sprite": "眼睛"
},
{
"id": 1013,
"title": "肌肉",
"rarity": 3,
"statModifierConfigs": [
{
"statType": 4,
"value": 0.3,
"modifierType": 200
}
],
"sprite": "肌肉"
},
{
"id": 1014,
"title": "牙齿",
"rarity": 3,
"statModifierConfigs": [
{
"statType": 4,
"value": 0.3,
"modifierType": 200
}
],
"sprite": "牙齿"
},
{
"id": 1015,
"title": "脑",
"rarity": 3,
"statModifierConfigs": [
{
"statType": 9,
"value": 0.3,
"modifierType": 200
}
],
"sprite": "脑"
},
{
"id": 1016,
"title": "鼻子",
"rarity": 3,
"statModifierConfigs": [
{
"statType": 8,
"value": 0.3,
"modifierType": 200
}
],
"sprite": "鼻子"
},
{
"id": 1017,
"title": "腿",
"rarity": 3,
"statModifierConfigs": [
{
"statType": 14,
"value": 0.3,
"modifierType": 200
}
],
"sprite": "腿"
},
{
"id": 1018,
"title": "眼睛",
"rarity": 3,
"statModifierConfigs": [
{
"statType": 1,
"value": 0.3,
"modifierType": 200
}
],
"sprite": "眼睛"
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 39cc16aedcbca5647be53f56dce6a5ad
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,2 @@

music_menumusic_background music_about
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e6057df910f120543b84d5f7d531ee1a
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,14 @@
[
{
"id": 1,
"assetName": "music_menu"
},
{
"id": 2,
"assetName": "music_background"
},
{
"id": 3,
"assetName": "music_about"
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: de92febed48d9284ca086119dae53f81
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 95704d9db33214d4ba398b74e2183456
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,392 @@
[
{
"id": 1001,
"name": "铁护腕",
"rarity": 1,
"price": 120,
"statModifierConfigs": [
{
"statType": 5,
"value": 10,
"modifierType": 100
},
{
"statType": 12,
"value": 12,
"modifierType": 100
}
],
"sprite": "铁护腕"
},
{
"id": 1002,
"name": "狂战士药剂",
"rarity": 2,
"price": 250,
"statModifierConfigs": [
{
"statType": 1,
"value": 53,
"modifierType": 100
},
{
"statType": 8,
"value": 0.09,
"modifierType": 200
},
{
"statType": 5,
"value": 11,
"modifierType": 100
}
],
"sprite": "狂战士药剂"
},
{
"id": 1003,
"name": "龙鳞护符",
"rarity": 3,
"price": 330,
"statModifierConfigs": [
{
"statType": 9,
"value": 15,
"modifierType": 100
},
{
"statType": 5,
"value": 21,
"modifierType": 100
},
{
"statType": 12,
"value": 23,
"modifierType": 100
}
],
"sprite": "龙鳞护符"
},
{
"id": 1004,
"name": "泰坦壁垒",
"rarity": 5,
"price": 423,
"statModifierConfigs": [
{
"statType": 12,
"value": 79,
"modifierType": 100
}
],
"sprite": "泰坦壁垒"
},
{
"id": 1005,
"name": "轻便短靴",
"rarity": 1,
"price": 120,
"statModifierConfigs": [
{
"statType": 14,
"value": 0.8,
"modifierType": 100
},
{
"statType": 5,
"value": 10,
"modifierType": 100
}
],
"sprite": "轻便短靴"
},
{
"id": 1006,
"name": "幽灵披风",
"rarity": 2,
"price": 195,
"statModifierConfigs": [
{
"statType": 13,
"value": 0.1,
"modifierType": 100
},
{
"statType": 5,
"value": 12,
"modifierType": 100
},
{
"statType": 1,
"value": 44,
"modifierType": 100
}
],
"sprite": "幽灵披风"
},
{
"id": 1007,
"name": "精钢胸甲",
"rarity": 3,
"price": 335,
"statModifierConfigs": [
{
"statType": 12,
"value": 62,
"modifierType": 100
}
],
"sprite": "精钢胸甲"
},
{
"id": 1008,
"name": "暗影之刃",
"rarity": 5,
"price": 433,
"statModifierConfigs": [
{
"statType": 6,
"value": 44,
"modifierType": 100
},
{
"statType": 13,
"value": 0.27,
"modifierType": 100
}
],
"sprite": "暗影之刃"
},
{
"id": 1009,
"name": "旅行者徽章",
"rarity": 1,
"price": 121,
"statModifierConfigs": [
{
"statType": 1,
"value": 32,
"modifierType": 100
},
{
"statType": 6,
"value": 7,
"modifierType": 100
},
{
"statType": 12,
"value": 8,
"modifierType": 100
}
],
"sprite": "旅行者徽章"
},
{
"id": 1010,
"name": "疾风手套",
"rarity": 2,
"price": 198,
"statModifierConfigs": [
{
"statType": 8,
"value": 0.19,
"modifierType": 200
}
],
"sprite": "疾风手套"
},
{
"id": 1011,
"name": "巨人之力卷轴",
"rarity": 3,
"price": 341,
"statModifierConfigs": [
{
"statType": 6,
"value": 57,
"modifierType": 100
}
],
"sprite": "巨人之力卷轴"
},
{
"id": 1012,
"name": "不死鸟之心",
"rarity": 5,
"price": 443,
"statModifierConfigs": [
{
"statType": 1,
"value": 139,
"modifierType": 100
},
{
"statType": 9,
"value": 0.27,
"modifierType": 100
}
],
"sprite": "不死鸟之心"
},
{
"id": 1013,
"name": "幸运草",
"rarity": 1,
"price": 122,
"statModifierConfigs": [
{
"statType": 9,
"value": 0.05,
"modifierType": 100
},
{
"statType": 13,
"value": 0.07,
"modifierType": 100
}
],
"sprite": "幸运草"
},
{
"id": 1014,
"name": "石肤戒指",
"rarity": 2,
"price": 201,
"statModifierConfigs": [
{
"statType": 14,
"value": 0.6,
"modifierType": 100
},
{
"statType": 12,
"value": 38,
"modifierType": 100
}
],
"sprite": "石肤戒指"
},
{
"id": 1015,
"name": "风行者胫甲",
"rarity": 3,
"price": 346,
"statModifierConfigs": [
{
"statType": 14,
"value": 1.6,
"modifierType": 100
},
{
"statType": 12,
"value": 32,
"modifierType": 100
}
],
"sprite": "风行者胫甲"
},
{
"id": 1016,
"name": "幻影斗篷",
"rarity": 5,
"price": 454,
"statModifierConfigs": [
{
"statType": 13,
"value": 0.28,
"modifierType": 100
},
{
"statType": 12,
"value": 24,
"modifierType": 100
},
{
"statType": 5,
"value": 24,
"modifierType": 100
}
],
"sprite": "幻影斗篷"
},
{
"id": 1017,
"name": "木质盾牌",
"rarity": 1,
"price": 124,
"statModifierConfigs": [
{
"statType": 12,
"value": 23,
"modifierType": 100
}
],
"sprite": "木质盾牌"
},
{
"id": 1018,
"name": "生命之戒",
"rarity": 2,
"price": 204,
"statModifierConfigs": [
{
"statType": 7,
"value": 17,
"modifierType": 100
},
{
"statType": 1,
"value": 69,
"modifierType": 100
}
],
"sprite": "生命之戒"
},
{
"id": 1019,
"name": "精灵耳环",
"rarity": 3,
"price": 352,
"statModifierConfigs": [
{
"statType": 1,
"value": 74,
"modifierType": 100
},
{
"statType": 7,
"value": 19,
"modifierType": 100
},
{
"statType": 13,
"value": 0.2,
"modifierType": 100
}
],
"sprite": "精灵耳环"
},
{
"id": 1020,
"name": "战神勋章",
"rarity": 5,
"price": 464,
"statModifierConfigs": [
{
"statType": 8,
"value": 0.15,
"modifierType": 200
},
{
"statType": 7,
"value": 29,
"modifierType": 100
},
{
"statType": 12,
"value": 27,
"modifierType": 100
}
],
"sprite": "战神勋章"
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fd4e6b4c609edf242a9f07964bdd963d
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7456d83d63724fd41a3f4ea54fece6a8
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,33 @@
[
{
"name": "全能者",
"maxHealth": 100,
"speed": 6,
"coin": 10,
"statModifierConfigs": [
{
"statType": 14,
"value": 0.5,
"modifierType": 200
},
{
"statType": 1,
"value": 0.2,
"modifierType": 200
}
],
"initialItems": [],
"prefab": "Player",
"sprite": "全能者"
},
{
"name": "老人",
"maxHealth": 200,
"speed": 4,
"coin": 5,
"statModifierConfigs": [],
"initialItems": [],
"prefab": "Player",
"sprite": "老人"
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2fe2aad193827b44b8720e458e85119f
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c80cd1bf6fe63204995d43942c964a81
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,22 @@
[
{
"id": 1,
"assetName": "Menu",
"backgroundMusicId": 1
},
{
"id": 2,
"assetName": "Main",
"backgroundMusicId": 2
},
{
"id": 3,
"assetName": "StressTest",
"backgroundMusicId": 0
},
{
"id": 4,
"assetName": "Game",
"backgroundMusicId": 0
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2e3f9973612afe3428bbdee83327b95e
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f774609ceb87ba242860fd2bca3f8c7e
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,52 @@
[
{
"id": 10000,
"name": "玩家子弹",
"assetName": "weapon_player",
"priority": 0,
"loop": false,
"volume": 1,
"spatialBlend": 0,
"maxDistance": 100
},
{
"id": 10001,
"name": "敌人子弹",
"assetName": "weapon_enemy",
"priority": 0,
"loop": false,
"volume": 1,
"spatialBlend": 0,
"maxDistance": 100
},
{
"id": 20000,
"name": "玩家爆炸",
"assetName": "explosion_player",
"priority": 0,
"loop": false,
"volume": 1,
"spatialBlend": 0,
"maxDistance": 100
},
{
"id": 20001,
"name": "敌人爆炸",
"assetName": "explosion_enemy",
"priority": 0,
"loop": false,
"volume": 1,
"spatialBlend": 0,
"maxDistance": 100
},
{
"id": 20002,
"name": "小行星爆炸",
"assetName": "explosion_asteroid",
"priority": 0,
"loop": false,
"volume": 1,
"spatialBlend": 0,
"maxDistance": 100
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f6985e55f5d7d8340a20469458a322aa
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6eb54a506884f5f4cae28dda00621b99
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,167 @@
[
{
"key": "小刀",
"atlasPath": "Weapon.png",
"spriteIndex": 0
},
{
"key": "手枪",
"atlasPath": "Weapon.png",
"spriteIndex": 1
},
{
"key": "斧头",
"atlasPath": "Weapon.png",
"spriteIndex": 2
},
{
"key": "闪电",
"atlasPath": "Weapon.png",
"spriteIndex": 3
},
{
"key": "长枪",
"atlasPath": "Weapon.png",
"spriteIndex": 4
},
{
"key": "铁护腕",
"atlasPath": "Prop.png",
"spriteIndex": 0
},
{
"key": "狂战士药剂",
"atlasPath": "Prop.png",
"spriteIndex": 1
},
{
"key": "龙鳞护符",
"atlasPath": "Prop.png",
"spriteIndex": 2
},
{
"key": "泰坦壁垒",
"atlasPath": "Prop.png",
"spriteIndex": 3
},
{
"key": "轻便短靴",
"atlasPath": "Prop.png",
"spriteIndex": 4
},
{
"key": "幽灵披风",
"atlasPath": "Prop.png",
"spriteIndex": 5
},
{
"key": "精钢胸甲",
"atlasPath": "Prop.png",
"spriteIndex": 6
},
{
"key": "暗影之刃",
"atlasPath": "Prop.png",
"spriteIndex": 7
},
{
"key": "旅行者徽章",
"atlasPath": "Prop.png",
"spriteIndex": 8
},
{
"key": "疾风手套",
"atlasPath": "Prop.png",
"spriteIndex": 9
},
{
"key": "巨人之力卷轴",
"atlasPath": "Prop.png",
"spriteIndex": 10
},
{
"key": "不死鸟之心",
"atlasPath": "Prop.png",
"spriteIndex": 11
},
{
"key": "幸运草",
"atlasPath": "Prop.png",
"spriteIndex": 12
},
{
"key": "石肤戒指",
"atlasPath": "Prop.png",
"spriteIndex": 13
},
{
"key": "风行者胫甲",
"atlasPath": "Prop.png",
"spriteIndex": 14
},
{
"key": "幻影斗篷",
"atlasPath": "Prop.png",
"spriteIndex": 15
},
{
"key": "木质盾牌",
"atlasPath": "Prop.png",
"spriteIndex": 16
},
{
"key": "生命之戒",
"atlasPath": "Prop.png",
"spriteIndex": 17
},
{
"key": "精灵耳环",
"atlasPath": "Prop.png",
"spriteIndex": 18
},
{
"key": "战神勋章",
"atlasPath": "Prop.png",
"spriteIndex": 19
},
{
"key": "全能者",
"atlasPath": "Role.png",
"spriteIndex": 0
},
{
"key": "老人",
"atlasPath": "Role.png",
"spriteIndex": 1
},
{
"key": "肌肉",
"atlasPath": "LevelUpReward.png",
"spriteIndex": 0
},
{
"key": "牙齿",
"atlasPath": "LevelUpReward.png",
"spriteIndex": 1
},
{
"key": "脑",
"atlasPath": "LevelUpReward.png",
"spriteIndex": 2
},
{
"key": "鼻子",
"atlasPath": "LevelUpReward.png",
"spriteIndex": 3
},
{
"key": "腿",
"atlasPath": "LevelUpReward.png",
"spriteIndex": 4
},
{
"key": "眼睛",
"atlasPath": "LevelUpReward.png",
"spriteIndex": 5
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 743019ea56b594149a9d5ef429112715
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More