mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 05:57:14 +08:00
(client) feat:实现技能树界面,实现地图生成器,实现维度指定,实现规则瓦片定义,实现逃跑逻辑,实现消息定义,实现武器动画,实现受击动画 fix: 修复单攻击子弹击中多个目标,修复人物属性计算错误 (#56)
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/56
This commit is contained in:
@@ -15,11 +15,18 @@
|
||||
<path>Resources\Item\YellowBullet_down.png</path>
|
||||
</ImageDef>
|
||||
|
||||
<ImageDef>
|
||||
<defName>testGunAttackAnimation</defName>
|
||||
<path>Resources\AttackAnimation\AttackAnimations.png</path>
|
||||
<wCount>10</wCount>
|
||||
<hCount>1</hCount>
|
||||
</ImageDef>
|
||||
|
||||
<AttributesDef>
|
||||
<defName>TestGun</defName>
|
||||
<attack>10</attack>
|
||||
<defense>3</defense>
|
||||
<attackSpeed>3</attackSpeed>
|
||||
<attackSpeed>1</attackSpeed>
|
||||
<attackRange>10</attackRange>
|
||||
<attackTargetCount>1</attackTargetCount>
|
||||
</AttributesDef>
|
||||
@@ -28,20 +35,43 @@
|
||||
<defName>TestGun</defName>
|
||||
<label>测试枪</label>
|
||||
<description>一把测试用的枪</description>
|
||||
<!-- 引用属性定义 -->
|
||||
<attributes>TestGun</attributes>
|
||||
<type>Ranged</type>
|
||||
<FPS>10</FPS>
|
||||
<textures>
|
||||
<li>TestGunItem</li>
|
||||
</textures>
|
||||
<attackAnimation>
|
||||
<li>testGunAttackAnimation_0</li>
|
||||
<li>testGunAttackAnimation_1</li>
|
||||
<li>testGunAttackAnimation_2</li>
|
||||
<li>testGunAttackAnimation_3</li>
|
||||
<li>testGunAttackAnimation_4</li>
|
||||
<li>testGunAttackAnimation_5</li>
|
||||
<li>testGunAttackAnimation_6</li>
|
||||
<li>testGunAttackAnimation_7</li>
|
||||
<li>testGunAttackAnimation_8</li>
|
||||
<li>testGunAttackAnimation_9</li>
|
||||
</attackAnimation>
|
||||
<attackDetectionTime>0.5</attackDetectionTime>
|
||||
<maxStack>1</maxStack>
|
||||
<rarity>Uncommon</rarity>
|
||||
<attackDetectionTime>0.3</attackDetectionTime>
|
||||
<!-- 引用子弹定义 -->
|
||||
<bullet>yellowBullet</bullet>
|
||||
</WeaponDef>
|
||||
|
||||
<BulletDef>
|
||||
<defName>yellowBullet</defName>
|
||||
<label>黄色子弹</label>
|
||||
<description>一颗黄色的子弹</description>
|
||||
<!-- 嵌套定义属性 -->
|
||||
<attributes>
|
||||
<health>1</health>
|
||||
<moveSpeed>20</moveSpeed>
|
||||
</attributes>
|
||||
<!-- 嵌套定义纹理绘制顺序 -->
|
||||
<drawingOrder>
|
||||
<idle_down>
|
||||
<textures>
|
||||
@@ -108,6 +138,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@@ -122,6 +157,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@@ -136,6 +176,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@@ -150,6 +195,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@@ -164,8 +214,14 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
|
||||
<!-- Weapon Definitions for all monsters -->
|
||||
<!-- Mechanical Monsters -->
|
||||
<WeaponDef>
|
||||
|
||||
Reference in New Issue
Block a user