```
feat(gameplay): 添加建筑系统和改进摄像机控制 - 移除人类士兵数据资产文件,重构为建筑放置系统 - 在CharacterData中添加productionInterval和buildingCost字段用于建筑生产 - 实现CameraFollow脚本的完整重写,支持键盘WASD拖动、鼠标拖动、触摸拖动 - 添加摄像机缩放功能,支持上下键和触摸双指缩放 - 更新Projecttile.cs以同时处理单位和建筑目标的伤害检测 - 修改SummonCardButton从法力值召唤改为金币建筑放置模式 - 在UnitBase.cs中更新攻击逻辑以支持对建筑造成伤害 - 升级WorldHealthBar以显示建筑生产进度和更好的缩放补偿 - 修复MainCharacterDebugMovement移除键盘移动输入冲突 - 更新包管理器中的codely.bridge版本从1.0.80到1.0.81 ```
This commit is contained in:
1 parent
fb56cd7ede
commit
769aea30f3
55 files changed
+9328
-90
No files matched your search
@@ -1,28 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:yousandi.cn,2023:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6769361b152df4efb933934b84a6e673, type: 3}
|
||||
m_Name: HumanSoldierData
|
||||
m_EditorClassIdentifier:
|
||||
characterId: human_soldier
|
||||
characterName: "\u4EBA\u7C7B\u58EB\u5175"
|
||||
description: "\u57FA\u7840\u8FD1\u6218\u5355\u4F4D\uFF0C\u653B\u51FB\u529B\u9002\u4E2D\uFF0C\u9002\u5408\u524D\u6392\u4F5C\u6218"
|
||||
cardIcon: {fileID: 21300000, guid: ac0c2d42f9a144e5b9e9b0d16590d58b, type: 3}
|
||||
unitPrefab: {fileID: 7945271050725079514, guid: 04ae1b1fe51474dda8ae5daf0b1df7c1,
|
||||
type: 3}
|
||||
manaCost: 2
|
||||
cooldownTime: 1
|
||||
baseMaxHealth: 100
|
||||
baseAttackPower: 50
|
||||
baseMoveSpeed: 3
|
||||
healthPerLevel: 10
|
||||
attackPerLevel: 5
|
||||
moveSpeedPerLevel: 0
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: DnxLvHioWy/Y8BQTJXvfgy4EY9ORY5NTkgRou5DX6985cCP+TJ5xtIQ=
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -20,6 +20,8 @@ MonoBehaviour:
|
||||
type: 3}
|
||||
manaCost: 2
|
||||
cooldownTime: 1
|
||||
productionInterval: 8
|
||||
buildingCost: 100
|
||||
baseMaxHealth: 100
|
||||
baseAttackPower: 50
|
||||
baseMoveSpeed: 3
|
||||
|
||||
@@ -20,6 +20,8 @@ MonoBehaviour:
|
||||
type: 3}
|
||||
manaCost: 3
|
||||
cooldownTime: 1
|
||||
productionInterval: 10
|
||||
buildingCost: 100
|
||||
baseMaxHealth: 80
|
||||
baseAttackPower: 60
|
||||
baseMoveSpeed: 3.5
|
||||
|
||||
@@ -20,6 +20,8 @@ MonoBehaviour:
|
||||
type: 3}
|
||||
manaCost: 6
|
||||
cooldownTime: 1
|
||||
productionInterval: 12
|
||||
buildingCost: 100
|
||||
baseMaxHealth: 70
|
||||
baseAttackPower: 100
|
||||
baseMoveSpeed: 3
|
||||
|
||||
Reference in new issue
Block a user