- 补充游戏核心逻辑
- 完成 TodOList P0
- 添加游戏内控制台便于调试
- 增加敌人互斥机制提高运算负载
- 优化互斥算法将游戏性能基准线拉到 1k 敌人
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# 敌人基础属性表
|
||||
# Id MaxHealth HpAddPerLevel Speed CoinDrop ExpDrop DropPercent
|
||||
# int int int float int int float
|
||||
# 实体编号 策划备注 最大生命 每关卡增加生命 移动速度 金币掉落 经验掉落 掉落概率
|
||||
101 近战敌人 50 50 3 5 1 0.3
|
||||
# 敌人基础属性表
|
||||
# Id EntityTypeId MaxHealth HpAddPerLevel Speed CoinDrop ExpDrop DropPercent
|
||||
# int int int int float int int float
|
||||
# 敌人编号 策划备注 敌人实体编号 最大生命 每关卡增加生命 移动速度 金币掉落 经验掉落 掉落概率
|
||||
1 近战敌人 101 50 50 3 5 1 0.3
|
||||
|
||||
@@ -7,5 +7,7 @@
|
||||
102 远程敌人 RemoteEnemy
|
||||
11 跟随相机 FollowCamera
|
||||
201 武器小刀 WeaponKnife
|
||||
202 武器手枪 WeaponHandgun
|
||||
203 武器斧头 WeaponSlash
|
||||
10001 金币实体 CoinEntity
|
||||
10002 经验实体 ExpEntity
|
||||
|
||||
@@ -3,7 +3,25 @@
|
||||
# int GoodsType int
|
||||
# 商品编号 策划备注 商品类型 商品对应物品Id
|
||||
101 道具:药 Prop 101
|
||||
102 小刀 Weapon 201
|
||||
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
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# 关卡配置表
|
||||
# Id EntityIds EntityCounts Interval Duration
|
||||
# Id EnemyTypes EntityCounts Interval Duration
|
||||
# int int[] int[] float[] int
|
||||
# 关卡号 策划备注 实体编号 每次出怪数量 每次出怪间隔 关卡时间
|
||||
1 第一关 [101] [5] [2] 60
|
||||
2 第二关 [101] [10] [3] 60
|
||||
3 第三关 [101] [10] [3] 60
|
||||
4 第四关 [101] [10] [3] 60
|
||||
5 第五关 [101] [10] [3] 60
|
||||
6 第六关 [101] [10] [3] 60
|
||||
7 第七关 [101] [10] [3] 60
|
||||
8 第八关 [101] [10] [3] 60
|
||||
9 第九关 [101] [10] [3] 60
|
||||
10 第十关 [101] [10] [3] 60
|
||||
# 关卡号 策划备注 敌人类型 每次出怪数量 每次出怪间隔 关卡时间
|
||||
1 第一关 [1] [5] [2] 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,6 +1,7 @@
|
||||
# 武器表
|
||||
# Id Title IconAssetName Rarity Price PriceRandomPercent Attack Cooldown AttackRange AttackSoundId Pramas Modifiers
|
||||
# int string string RarityType int float int float float int string[] StatModifier[]
|
||||
# 武器编号 策划备注 武器名 图标资源名 道具品质 武器价格 价格浮动 伤害 冷却 范围 攻击音效编号 额外参数 额外属性
|
||||
201 玩家武器 小刀 Almighty_Icon White 120 0.05 100 1.5 5 10000 [] []
|
||||
202 手枪 Almighty_Icon White 130 0.05 120 1 15 10000 [] []
|
||||
# 武器表
|
||||
# Id 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] []
|
||||
|
||||
Reference in New Issue
Block a user