animations.xml

来自「说明如何使用托管 Direct3D Mobile 创建一个简单的二维游戏。」· XML 代码 · 共 45 行

XML
45
字号
<?xml version="1.0" standalone="yes"?>
<kAnimation xmlns="http://tempuri.org/Animation.xsd">
  <Definition>
    <FileName>player.bmp</FileName>
    <Rows>3</Rows>
    <Columns>10</Columns>
    <CellWidth>100</CellWidth>
    <CellHeight>60</CellHeight>
  </Definition>
  <Definition>
    <FileName>plane.bmp</FileName>
    <Rows>3</Rows>
    <Columns>4</Columns>
    <CellWidth>64</CellWidth>
    <CellHeight>64</CellHeight>
  </Definition>
  <Definition>
    <FileName>mech.bmp</FileName>
    <Rows>3</Rows>
    <Columns>10</Columns>
    <CellWidth>100</CellWidth>
    <CellHeight>100</CellHeight>
  </Definition>
  <Definition>
    <FileName>player_fire.bmp</FileName>
    <Rows>1</Rows>
    <Columns>4</Columns>
    <CellWidth>16</CellWidth>
    <CellHeight>16</CellHeight>
  </Definition>
  <Definition>
    <FileName>mech_fire.bmp</FileName>
    <Rows>1</Rows>
    <Columns>4</Columns>
    <CellWidth>16</CellWidth>
    <CellHeight>16</CellHeight>
  </Definition>
  <Definition>
    <FileName>plane_fire.bmp</FileName>
    <Rows>1</Rows>
    <Columns>4</Columns>
    <CellWidth>16</CellWidth>
    <CellHeight>16</CellHeight>
  </Definition>
</kAnimation>

⌨️ 快捷键说明

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