⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 player.xml

📁 说明如何使用托管 Direct3D Mobile 创建一个简单的二维游戏。
💻 XML
字号:
<?xml version="1.0" standalone="yes"?>
<kPlayer xmlns="http://tempuri.org/Player.xsd">
  <General>
    <AnimationId>0</AnimationId>
    <DeathAudioId>4</DeathAudioId>
    <Transparency>true</Transparency>
    <ShotChargeTime>.75</ShotChargeTime>
    <ShotMisfireMin>0</ShotMisfireMin>
    <ShotMisfireMax>35</ShotMisfireMax>
    <ShotVelocityXMax>115</ShotVelocityXMax>
    <ShotVelocityXMin>10</ShotVelocityXMin>
    <ShotVelocityYMax>280</ShotVelocityYMax>
    <ShotVelocityYMin>100</ShotVelocityYMin>
    <ShotMisfireVelocityXMax>50</ShotMisfireVelocityXMax>
    <ShotMisfireVelocityXMin>-50</ShotMisfireVelocityXMin>
    <ShotMisfireVelocityYMax>300</ShotMisfireVelocityYMax>
    <ShotMisfireVelocityYMin>200</ShotMisfireVelocityYMin>
  </General>
  <StartLocation>
    <X>88</X>
    <Y>178</Y>
  </StartLocation>
  <Walk>
    <ForceAnimationRate>10</ForceAnimationRate>
    <NormalAnimationRate>12</NormalAnimationRate>
    <MovementRate>60</MovementRate>
    <StartCell>0</StartCell>
    <EndCell>9</EndCell>
    <BoundsX>4</BoundsX>
    <BoundsY>3</BoundsY>
    <BoundsRadius>15</BoundsRadius>
  </Walk>
  <Attack>
    <ForceAnimationRate>15</ForceAnimationRate>
    <NormalAnimationRate>15</NormalAnimationRate>
    <MovementRate>0</MovementRate>
    <StartCell>14</StartCell>
    <EndCell>19</EndCell>
    <BoundsX>8</BoundsX>
    <BoundsY>3</BoundsY>
    <BoundsRadius>15</BoundsRadius>
  </Attack>
  <Death>
    <AnimationRate>10</AnimationRate>
    <StartCell>20</StartCell>
    <EndCell>29</EndCell>
  </Death>
  <Crawl>
    <ForceAnimationRate>12</ForceAnimationRate>
    <NormalAnimationRate>15</NormalAnimationRate>
    <MovementRate>40</MovementRate>
    <StartCell>10</StartCell>
    <EndCell>13</EndCell>
    <BoundsX>5</BoundsX>
    <BoundsY>25</BoundsY>
    <BoundsRadius>20</BoundsRadius>
  </Crawl>
  <Shot>
    <AnimationId>3</AnimationId>
    <ShootCell>3</ShootCell>
    <XOffset>42</XOffset>
    <YOffset>-1</YOffset>
    <VelocityX>140</VelocityX>
    <VelocityY>-60</VelocityY>
    <AnimationRate>25</AnimationRate>
    <Radius>5</Radius>
    <Transparency>true</Transparency>
    <ApplyGravity>true</ApplyGravity>
    <AudioId>0</AudioId>
  </Shot>
</kPlayer>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -