(client) feat:添加临时动画组件,添加逃跑逻辑

This commit is contained in:
m0_75251201
2025-09-06 12:25:55 +08:00
parent f43aeffebf
commit 15cdd2b244
73 changed files with 3420 additions and 6055 deletions

View File

@ -28,20 +28,26 @@
<defName>TestGun</defName>
<label>测试枪</label>
<description>一把测试用的枪</description>
<!-- 引用属性定义 -->
<attributes>TestGun</attributes>
<type>Ranged</type>
<textures>
<li>TestGunItem</li>
</textures>
<!-- 引用子弹定义 -->
<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 +114,11 @@
<li>GenericBulletTexture</li>
</textures>
</idle_down>
<walk_down>
<textures>
<li>GenericBulletTexture</li>
</textures>
</walk_down>
</drawingOrder>
</BulletDef>
<BulletDef>
@ -122,6 +133,11 @@
<li>GenericBulletTexture</li>
</textures>
</idle_down>
<walk_down>
<textures>
<li>GenericBulletTexture</li>
</textures>
</walk_down>
</drawingOrder>
</BulletDef>
<BulletDef>
@ -136,6 +152,11 @@
<li>GenericBulletTexture</li>
</textures>
</idle_down>
<walk_down>
<textures>
<li>GenericBulletTexture</li>
</textures>
</walk_down>
</drawingOrder>
</BulletDef>
<BulletDef>
@ -150,6 +171,11 @@
<li>GenericBulletTexture</li>
</textures>
</idle_down>
<walk_down>
<textures>
<li>GenericBulletTexture</li>
</textures>
</walk_down>
</drawingOrder>
</BulletDef>
<BulletDef>
@ -164,8 +190,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>