player.xml
来自「说明如何使用托管 Direct3D Mobile 创建一个简单的二维游戏。」· XML 代码 · 共 71 行
XML
71 行
<?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 + =
减小字号Ctrl + -
显示快捷键?