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

📄 worldobjects.xml

📁 说明如何使用托管 Direct3D Mobile 创建一个简单的二维游戏。
💻 XML
📖 第 1 页 / 共 3 页
字号:
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>60</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>true</Shot1ApplyGravity>
    <Shot1AudioId>1</Shot1AudioId>
    <Transparency>true</Transparency>
    <ActivateDistance>350</ActivateDistance>
    <Collidable>true</Collidable>
</Instance>

<Instance>
    <X>2150</X>
    <Y>110</Y>
    <AIId>2</AIId>
    <AnimationId>1</AnimationId>
    <DeathAnimationRate>10</DeathAnimationRate>
    <DeathStartCell>8</DeathStartCell>
    <DeathEndCell>11</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>3</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>15</WalkBoundsRadius>
    <AttackAnimationRate>10</AttackAnimationRate>
    <AttackStartCell>4</AttackStartCell>
    <AttackEndCell>7</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>10</DuckAnimationRate>
    <DuckStartCell>0</DuckStartCell>
    <DuckEndCell>3</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>0</DuckBoundsY>
    <DuckBoundsRadius>15</DuckBoundsRadius>
    <Shot1AnimationId>5</Shot1AnimationId>
    <Shot1Frame>3</Shot1Frame>
    <Shot1XOffset>-20</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>60</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>true</Shot1ApplyGravity>
    <Shot1AudioId>1</Shot1AudioId>
    <Transparency>true</Transparency>
    <ActivateDistance>350</ActivateDistance>
    <Collidable>true</Collidable>
</Instance>

<Instance>
    <X>2250</X>
    <Y>160</Y>
    <AIId>2</AIId>
    <AnimationId>1</AnimationId>
    <DeathAnimationRate>10</DeathAnimationRate>
    <DeathStartCell>8</DeathStartCell>
    <DeathEndCell>11</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>3</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>15</WalkBoundsRadius>
    <AttackAnimationRate>10</AttackAnimationRate>
    <AttackStartCell>4</AttackStartCell>
    <AttackEndCell>7</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>10</DuckAnimationRate>
    <DuckStartCell>0</DuckStartCell>
    <DuckEndCell>3</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>0</DuckBoundsY>
    <DuckBoundsRadius>15</DuckBoundsRadius>
    <Shot1AnimationId>5</Shot1AnimationId>
    <Shot1Frame>3</Shot1Frame>
    <Shot1XOffset>-20</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>60</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>true</Shot1ApplyGravity>
    <Shot1AudioId>1</Shot1AudioId>
    <Transparency>true</Transparency>
    <ActivateDistance>350</ActivateDistance>
    <Collidable>true</Collidable>
</Instance>

<Instance>
    <X>2325</X>
    <Y>160</Y>
    <AIId>2</AIId>
    <AnimationId>1</AnimationId>
    <DeathAnimationRate>10</DeathAnimationRate>
    <DeathStartCell>8</DeathStartCell>
    <DeathEndCell>11</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>3</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>15</WalkBoundsRadius>
    <AttackAnimationRate>10</AttackAnimationRate>
    <AttackStartCell>4</AttackStartCell>
    <AttackEndCell>7</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>10</DuckAnimationRate>
    <DuckStartCell>0</DuckStartCell>
    <DuckEndCell>3</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>0</DuckBoundsY>
    <DuckBoundsRadius>15</DuckBoundsRadius>
    <Shot1AnimationId>5</Shot1AnimationId>
    <Shot1Frame>3</Shot1Frame>
    <Shot1XOffset>-20</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>60</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>true</Shot1ApplyGravity>
    <Shot1AudioId>1</Shot1AudioId>
    <Transparency>true</Transparency>
    <ActivateDistance>350</ActivateDistance>
    <Collidable>true</Collidable>
</Instance>

<Instance>
    <X>2375</X>
    <Y>60</Y>
    <AIId>2</AIId>
    <AnimationId>1</AnimationId>
    <DeathAnimationRate>10</DeathAnimationRate>
    <DeathStartCell>8</DeathStartCell>
    <DeathEndCell>11</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>3</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>15</WalkBoundsRadius>
    <AttackAnimationRate>10</AttackAnimationRate>
    <AttackStartCell>4</AttackStartCell>
    <AttackEndCell>7</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>10</DuckAnimationRate>
    <DuckStartCell>0</DuckStartCell>
    <DuckEndCell>3</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>0</DuckBoundsY>
    <DuckBoundsRadius>15</DuckBoundsRadius>
    <Shot1AnimationId>5</Shot1AnimationId>
    <Shot1Frame>3</Shot1Frame>
    <Shot1XOffset>-20</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>60</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>true</Shot1ApplyGravity>
    <Shot1AudioId>1</Shot1AudioId>
    <Transparency>true</Transparency>
    <ActivateDistance>350</ActivateDistance>
    <Collidable>true</Collidable>
</Instance>

<Instance>
    <X>2425</X>
    <Y>110</Y>
    <AIId>2</AIId>
    <AnimationId>1</AnimationId>
    <DeathAnimationRate>10</DeathAnimationRate>
    <DeathStartCell>8</DeathStartCell>
    <DeathEndCell>11</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>3</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>15</WalkBoundsRadius>
    <AttackAnimationRate>10</AttackAnimationRate>
    <AttackStartCell>4</AttackStartCell>
    <AttackEndCell>7</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>10</DuckAnimationRate>
    <DuckStartCell>0</DuckStartCell>
    <DuckEndCell>3</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>0</DuckBoundsY>
    <DuckBoundsRadius>15</DuckBoundsRadius>
    <Shot1AnimationId>5</Shot1AnimationId>
    <Shot1Frame>3</Shot1Frame>
    <Shot1XOffset>-20</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>60</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>true</Shot1ApplyGravity>
    <Shot1AudioId>1</Shot1AudioId>
    <Transparency>true</Transparency>
    <ActivateDistance>350</ActivateDistance>
    <Collidable>true</Collidable>
</Instance>

<Instance>
    <X>2450</X>
    <Y>160</Y>
    <AIId>2</AIId>
    <AnimationId>1</AnimationId>
    <DeathAnimationRate>10</DeathAnimationRate>
    <DeathStartCell>8</DeathStartCell>
    <DeathEndCell>11</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>3</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>15</WalkBoundsRadius>
    <AttackAnimationRate>10</AttackAnimationRate>
    <AttackStartCell>4</AttackStartCell>
    <AttackEndCell>7</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>10</DuckAnimationRate>
    <DuckStartCell>0</DuckStartCell>
    <DuckEndCell>3</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>0</DuckBoundsY>
    <DuckBoundsRadius>15</DuckBoundsRadius>
    <Shot1AnimationId>5</Shot1AnimationId>
    <Shot1Frame>3</Shot1Frame>
    <Shot1XOffset>-20</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>60</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>true</Shot1ApplyGravity>
    <Shot1AudioId>1</Shot1AudioId>
    <Transparency>true</Transparency>
    <ActivateDistance>350</ActivateDistance>
    <Collidable>true</Collidable>
</Instance>

<Instance>
    <X>2475</X>
    <Y>175</Y>
    <AIId>3</AIId>
    <AnimationId>2</AnimationId>
    <DeathAnimationRate>8</DeathAnimationRate>
    <DeathStartCell>20</DeathStartCell>
    <DeathEndCell>27</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>9</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>25</WalkBoundsRadius>
    <AttackAnimationRate>8</AttackAnimationRate>
    <AttackStartCell>10</AttackStartCell>
    <AttackEndCell>13</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>12</DuckAnimationRate>
    <DuckStartCell>15</DuckStartCell>
    <DuckEndCell>19</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>25</DuckBoundsY>
    <DuckBoundsRadius>20</DuckBoundsRadius>
    <Transparency>true</Transparency>
    <ActivateDistance>250</ActivateDistance>
    <Collidable>true</Collidable>
    <Shot1AnimationId>4</Shot1AnimationId>
    <Shot1Frame>1</Shot1Frame>
    <Shot1XOffset>21</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>100</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>false</Shot1ApplyGravity>
    <Shot1AudioId>2</Shot1AudioId>
    <Shot2AnimationId>4</Shot2AnimationId>
    <Shot2Frame>2</Shot2Frame>
    <Shot2XOffset>38</Shot2XOffset>
    <Shot2YOffset>-10</Shot2YOffset>
    <Shot2VelocityX>100</Shot2VelocityX>
    <Shot2VelocityY>0</Shot2VelocityY>
    <Shot2AnimationRate>10</Shot2AnimationRate>
    <Shot2Radius>5</Shot2Radius>
    <Shot2Transparency>true</Shot2Transparency>
    <Shot2ApplyGravity>false</Shot2ApplyGravity>
    <Shot2AudioId>2</Shot2AudioId>
</Instance>

<Instance>
    <X>2550</X>
    <Y>175</Y>
    <AIId>3</AIId>
    <AnimationId>2</AnimationId>
    <DeathAnimationRate>8</DeathAnimationRate>
    <DeathStartCell>20</DeathStartCell>
    <DeathEndCell>27</DeathEndCell>
    <WalkAnimationRate>10</WalkAnimationRate>
    <WalkStartCell>0</WalkStartCell>
    <WalkEndCell>9</WalkEndCell>
    <WalkBoundsX>0</WalkBoundsX>
    <WalkBoundsY>0</WalkBoundsY>
    <WalkBoundsRadius>25</WalkBoundsRadius>
    <AttackAnimationRate>8</AttackAnimationRate>
    <AttackStartCell>10</AttackStartCell>
    <AttackEndCell>13</AttackEndCell>
    <AttackBoundsX>0</AttackBoundsX>
    <AttackBoundsY>0</AttackBoundsY>
    <AttackBoundsRadius>15</AttackBoundsRadius>
    <DuckAnimationRate>12</DuckAnimationRate>
    <DuckStartCell>15</DuckStartCell>
    <DuckEndCell>19</DuckEndCell>
    <DuckBoundsX>0</DuckBoundsX>
    <DuckBoundsY>25</DuckBoundsY>
    <DuckBoundsRadius>20</DuckBoundsRadius>
    <Transparency>true</Transparency>
    <ActivateDistance>250</ActivateDistance>
    <Collidable>true</Collidable>
    <Shot1AnimationId>4</Shot1AnimationId>
    <Shot1Frame>1</Shot1Frame>
    <Shot1XOffset>21</Shot1XOffset>
    <Shot1YOffset>2</Shot1YOffset>
    <Shot1VelocityX>100</Shot1VelocityX>
    <Shot1VelocityY>0</Shot1VelocityY>
    <Shot1AnimationRate>10</Shot1AnimationRate>
    <Shot1Radius>5</Shot1Radius>
    <Shot1Transparency>true</Shot1Transparency>
    <Shot1ApplyGravity>false</Shot1ApplyGravity>
    <Shot1AudioId>2</Shot1AudioId>
    <Shot2AnimationId>4</Shot2AnimationId>
    <Shot2Frame>2</Shot2Frame>
    <Shot2XOffset>38</Shot2XOffset>
    <Shot2YOffset>-10</Shot2YOffset>
    <Shot2VelocityX>100</Shot2VelocityX>
    <Shot2VelocityY>0</Shot2VelocityY>
    <Shot2AnimationRate>10</Shot2AnimationRate>
    <Shot2Radius>5</Shot2Radius>
    <Shot2Transparency>true</Shot2Transparency>
    <Shot2ApplyGravity>false</Shot2ApplyGravity>
    <Shot2AudioId>2</Shot2AudioId>
</Instance>

</kWorldObjects>

⌨️ 快捷键说明

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