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

📄 data.xml

📁 一个坦克游戏附源代码
💻 XML
字号:
<?xml version="1.0" ?><body type="data" version="1.0"><coll_type name="COL_TYPE_NONE" /><coll_type name="COL_TYPE_MYTANK" /><coll_type name="COL_TYPE_MYBULLET" /><coll_type name="COL_TYPE_ENEMYTANK" /><coll_type name="COL_TYPE_ENEMYBULLET" /><coll_type name="COL_TYPE_BOUNS" /><coll_type name="COL_TYPE_BUILDING" /><texture name="t_smoke" src="./images/circle1.png" /><texture name="t_boom" src="./images/fire.png" /><texture name="t_sand" src="./images/sand.png" /><texture name="t_bomb" src="./images/bomb.jpg" /><texture name="t_time" src="./images/time.jpg" /><texture name="t_star" src="./images/star.jpg" /><texture name="t_armor" src="./images/armor.jpg" /><texture name="t_life" src="./images/tank.jpg" /><texture name="t_tank1" src="./meshes/tank1.png" /><texture name="t_tank2" src="./meshes/tank2.png" /><texture name="tm_stone" src="./images/tile_01.png" /><texture name="tm_gress" src="./images/tile_02.png" /><texture name="tm_sand" src="./images/tile_03.png" /><texture name="tm_ice" src="./images/tile_05.png" /><texture name="tm_bench" src="./images/tile_04.png" /><texture name="tm_metal" src="./images/tile_06.png" /><texture name="tm_dust" src="./images/tile_07.png" /><texture name="tm_water" src="./images/water2.png" /><texture name="t_star0" src="./images/circle3.png" /><mesh name="m_tank1" src="./meshes/tank1.x" /><mesh name="m_tank2" src="./meshes/tank3.x" /><mesh name="m_car1" src="./meshes/car1.x" /><mesh name="m_box" src="./meshes/box.x" /><mesh name="m_house" src="./meshes/house.x" /><mesh name="m_tree" src="./meshes/tree.x" /><mesh name="m_bullet1" src="./meshes/bullet1.x" /><mesh name="m_bullet2" src="./meshes/bullet2.x" /><particle name="p_smoke" texture="t_smoke" dirx="0" diry="0" dirz="0" maxAngleDegrees="30" minParticlesPerSecond="50" maxParticlePerSecond="100" lifeTimeMin="400" lifeTimeMax="800" minStartColor="0xffffff" maxStartColor ="0xffffff" hasGravity="0" GravityX="0" GravityY="-0.03" GravityZ="0" timeForceLost="1000" hadFadeOut="1" targetColor="0" timeNeededToFadeOut="2000" sizex="5" sizey="5" /><particle name="p_star0" texture="t_smoke" dirx="0" diry="0" dirz="0" maxAngleDegrees="30" minParticlesPerSecond="30" maxParticlePerSecond="60" lifeTimeMin="400" lifeTimeMax="800" minStartColor="0xffff80" maxStartColor ="0xff8000" hasGravity="0" GravityX="0" GravityY="-0.03" GravityZ="0" timeForceLost="1000" hadFadeOut="1" targetColor="0" timeNeededToFadeOut="2000" sizex="5" sizey="5" /><particle name="p_boom" texture="t_boom" dirx="0" diry="0" dirz="0" maxAngleDegrees="90" minParticlesPerSecond="10" maxParticlePerSecond="20" lifeTimeMin="200" lifeTimeMax="400" minStartColor="0xffff80" maxStartColor ="0xff8000" hasGravity="0" GravityX="0" GravityY="-0.005" GravityZ="0" timeForceLost="1000" hadFadeOut="1" targetColor="0xff0000" timeNeededToFadeOut="300" sizex="6" sizey="6" /><particle name="p_boom2" texture="t_boom" dirx="0" diry="0.01" dirz="0" maxAngleDegrees="90" minParticlesPerSecond="10" maxParticlePerSecond="20" lifeTimeMin="800" lifeTimeMax="1200" minStartColor="0xffffff" maxStartColor ="0xffff00" hasGravity="1" GravityX="0" GravityY="-0.01" GravityZ="0" timeForceLost="1000" hadFadeOut="1" targetColor="0x400000" timeNeededToFadeOut="2000" sizex="12" sizey="12" /><particle name="p_birth" texture="t_sand" dirx="0" diry="0.05" dirz="0" maxAngleDegrees="0" minParticlesPerSecond="50" maxParticlePerSecond="100" lifeTimeMin="400" lifeTimeMax="800" minStartColor="0xffffff" maxStartColor ="0xffffff" hasGravity="0" GravityX="0" GravityY="0.01" GravityZ="0" timeForceLost="1000" hadFadeOut="1" targetColor="0" timeNeededToFadeOut="2000" sizex="14" sizey="14" box_x1="-7" box_y1="0" box_z1="-7" box_x2="7" box_y2="1" box_z2="7" global="yes" /><particle name="p_armor" texture="t_sand" dirx="0" diry="0.03" dirz="0" maxAngleDegrees="0" minParticlesPerSecond="20" maxParticlePerSecond="40" lifeTimeMin="200" lifeTimeMax="600" minStartColor="0xffffff" maxStartColor ="0xffff00" hasGravity="0" GravityX="0" GravityY="0.01" GravityZ="0" timeForceLost="800" hadFadeOut="1" targetColor="0xff0000" timeNeededToFadeOut="2000" sizex="12" sizey="12" box_x1="-5" box_y1="0" box_z1="-5" box_x2="5" box_y2="1" box_z2="7" global="yes" /><anim name="a_tank1" mesh="m_tank2" texture="t_tank1" firex="0" firey="2.6" firez="-4.4" dirx="0" diry="0" dirz="0" box_x1="-4.5" box_y1="0" box_z1="-4.5" box_x2="4.5" box_y2="0" box_z2="4.5" /><anim name="a_tank2" mesh="m_tank2" texture="t_tank2" firex="0" firey="2.6" firez="-4.4" dirx="0" diry="0" dirz="0" box_x1="-4.5" box_y1="0" box_z1="-4.5" box_x2="4.5" box_y2="0" box_z2="4.5" /><anim name="a_car1" mesh="m_car1" firex="0" firey="2.6" firez="-4.4" dirx="0" diry="0" dirz="0" box_x1="-3.5" box_y1="0" box_z1="-3.5" box_x2="3.5" box_y2="0" box_z2="3.5" /><anim name="a_105mm_bullet" mesh="m_bullet2" particle="p_smoke" particlex="0" particley="0" particlez="1" firex="0" firey="0" firez="0" dirx="0" diry="0" dirz="0" box_x1="-1" box_y1="-1" box_z1="-1" box_x2="1" box_y2="1" box_z2="1" /><anim name="a_40mm_bullet" mesh="m_bullet1" particlex="0" particley="0" particlez="0.5" firex="0" firey="0" firez="0" dirx="0" diry="0" dirz="0" box_x1="-1" box_y1="-1" box_z1="-1" box_x2="1" box_y2="1" box_z2="1" /><anim name="a_boom" particle="p_boom" particlex="0" particley="0" particlez="0" firex="0" firey="0" firez="0" dirx="0" diry="0" dirz="0" /><anim name="a_boom2" particle="p_boom2" particlex="0" particley="0" particlez="0" firex="0" firey="0" firez="0" dirx="0" diry="0" dirz="0" /><anim name="a_box0" mesh="m_box" texture="t_bomb" particle="" particlex="0" particley="2" particlez="4" firex="0" firey="4" firez="0" dirx="0" diry="0" dirz="0" box_x1="-4" box_y1="-4" box_z1="-4" box_x2="4" box_y2="4" box_z2="4" /><anim name="a_box1" mesh="m_box" texture="t_time" particle="" particlex="0" particley="2" particlez="4" firex="0" firey="4" firez="0" dirx="0" diry="0" dirz="0" box_x1="-4" box_y1="-4" box_z1="-4" box_x2="4" box_y2="4" box_z2="4" /><anim name="a_box2" mesh="m_box" texture="t_star" particle="" particlex="0" particley="2" particlez="4" firex="0" firey="4" firez="0" dirx="0" diry="0" dirz="0" box_x1="-4" box_y1="-4" box_z1="-4" box_x2="4" box_y2="4" box_z2="4" /><anim name="a_box3" mesh="m_box" texture="t_armor" particle="" particlex="0" particley="2" particlez="4" firex="0" firey="4" firez="0" dirx="0" diry="0" dirz="0" box_x1="-4" box_y1="-4" box_z1="-4" box_x2="4" box_y2="4" box_z2="4" /><anim name="a_box4" mesh="m_box" texture="t_life" particle="" particlex="0" particley="2" particlez="4" firex="0" firey="4" firez="0" dirx="0" diry="0" dirz="0" box_x1="-4" box_y1="-4" box_z1="-4" box_x2="4" box_y2="4" box_z2="4" /><anim name="a_birth" particle="p_birth" particlex="0" particley="0" particlez="0" box_x1="-5" box_y1="0" box_z1="-5" box_x2="5" box_y2="0" box_z2="5" /><anim name="a_house" mesh="m_house" box_x1="-6.5" box_y1="0" box_z1="-4.6" box_x2="6.5" box_y2="0" box_z2="4.8" /><anim name="a_tree" mesh="m_tree" box_x1="-2.5" box_y1="0" box_z1="-2.5" box_x2="2.5" box_y2="0" box_z2="2.5" alpha="true" /><object name="o_player" life="2" speed="15" anim="a_tank1" type="COL_TYPE_MYTANK" died="o_boom2" diesound="s_boom" weapon="w_gun_105mm" /><object name="o_tank0" life="2" speed="10" anim="a_tank2" type="COL_TYPE_ENEMYTANK" died="o_boom2" diesound="s_boom" weapon="w_gun_105mm" /><object name="o_jeep" life="1" speed="20" anim="a_car1" type="COL_TYPE_ENEMYTANK" died="o_boom2" diesound="s_boom" weapon="w_gun_40mm" /><object name="o_105mm_bullet" life="2" time="100" speed="40" anim="a_105mm_bullet" type="COL_TYPE_NONE" died="o_boom" diesound="s_hit" /><object name="o_40mm_bullet" life="1" time="100" speed="40" anim="a_40mm_bullet" type="COL_TYPE_NONE" died="o_boom" diesound="s_hit" /><object name="o_boom" life="800" time="400" speed="0" anim="a_boom" type="COL_TYPE_NONE" /><object name="o_boom2" life="800" time="800" speed="0" anim="a_boom2" type="COL_TYPE_NONE" /><object name="o_bonus0" life="0" time="10000" speed="0" anim="a_box0" type="COL_TYPE_BOUNS" diesound="s_shoot" /><object name="o_bonus1" life="1" time="10000" speed="0" anim="a_box1" type="COL_TYPE_BOUNS" diesound="s_shoot" /><object name="o_bonus2" life="2" time="10000" speed="0" anim="a_box2" type="COL_TYPE_BOUNS" diesound="s_shoot" /><object name="o_bonus3" life="3" time="10000" speed="0" anim="a_box3" type="COL_TYPE_BOUNS" diesound="s_shoot" /><object name="o_bonus4" life="4" time="10000" speed="0" anim="a_box4" type="COL_TYPE_BOUNS" diesound="s_shoot" /><object name="o_birth_small" life="1" time="400" speed="0" anim="a_birth" type="COL_TYPE_NONE" died="o_tank0" /><object name="o_birth_middle" life="1" time="400" speed="0" anim="a_birth" type="COL_TYPE_NONE" died="o_tank1" /><object name="o_birth_big" life="1" time="400" speed="0" anim="a_birth" type="COL_TYPE_NONE" died="o_tank2" /><object name="o_birth_jeep" life="1" time="400" speed="0" anim="a_birth" type="COL_TYPE_NONE" died="o_jeep" /><object name="o_birth_fire" life="1" time="400" speed="0" anim="a_birth" type="COL_TYPE_NONE" died="o_tank4" /><object name="om02_house" life="200" time="200" speed="0" anim="a_house" type="COL_TYPE_BUILDING" /><object name="om01_tree" life="100" time="200" speed="0" anim="a_tree" type="COL_TYPE_BUILDING" /><weapon name="w_gun_105mm" object="o_105mm_bullet" interval="800" ammo="1000" maxammo="1000" sound="s_hit" /><weapon name="w_gun_40mm" object="o_40mm_bullet" interval="200" ammo="1000" maxammo="1000" sound="s_hit" /><sound name="s_shoot" src="./sounds/shoot.wav" /><sound name="s_hit" src="./sounds/boom1.wav" /><sound name="s_boom" src="./sounds/boom2.wav" /></body>

⌨️ 快捷键说明

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