<?xml version="1.0" encoding="shift-jis"?>

<exbulletml>

<action l="top">
	<system><command>effectmeshdisable</command></system>
	<system><command>fulldrawon</command></system>

	<setBgColor><alpha>255</alpha><red>0</red><green>0</green><blue>0</blue></setBgColor>


	<setLight type="ambient">
    <alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><flag>0</flag>
  </setLight>

	<setLight type="directional">
    <alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
    <x>-0.5</x><y>0</y><z>1</z><num>0</num>
  </setLight>

	<setEye><worldx>0</worldx><worldy>13</worldy><worldz>0</worldz></setEye>
	<setLookAt><worldx>0</worldx><worldy>0</worldy><worldz>0</worldz></setLookAt>
	<setUpVec><worldx>0</worldx><worldy>0</worldy><worldz>1</worldz></setUpVec>

	<setFog>
		<alpha>255</alpha><red>255</red><green>0</green><blue>0</blue>
		<worldminz>190</worldminz><worldmaxz>200</worldmaxz>
	</setFog>		
	<system><command>disablefog</command></system>
	
  <!-- 残像用グローバル変数・エンジン側で利用 -->
  <global n="blur_alpha">250</global>

<!--
	<actionRef l="hdr_sample_action"></actionRef>
-->

	<!--
	<actionRef l="spriteparticle_sample_action"></actionRef>
	-->

<!--
	<actionRef l="bumpenvmap_sample_action"></actionRef>
-->

<!--
	<actionRef l="specularenvmap_sample_action"></actionRef>
-->

	<!--
	<actionRef l="dotproduct_sample_action"></actionRef>
	-->

	<!--
	<actionRef l="bumpwave_sample_action"></actionRef>
	-->

<!--
	<actionRef l="pixelspecular_sample_action"></actionRef>
-->

	<actionRef l="laserobj_sample_action"></actionRef>

<!--
	<actionRef l="function_sample_action"></actionRef>
-->

<!--
	<actionRef l="syncmesh_sample_action"></actionRef>
-->


	<w>5</w>

<!--
	<sound type="bgm" label="bgm">
		<track><file type="ogg">02_charasele_loop</file></track>
		<play><flag>1</flag><loop>44100*2*2*30</loop></play>	
	</sound>
-->

</action>


<action l="function_sample_action">
	<func n="out" type="sin"><p>90</p></func>
	<debugval><num>$out</num></debugval>
</action>



<action l="laserobj_sample_action">
	<setBgColor><alpha>255</alpha><red>0</red><green>0</green><blue>0</blue></setBgColor>

  <create>
    <cx>600</cx><cy>300</cy><speed>6</speed><dir type="abs">180</dir>
    <laserObjectRef l="laserobj"></laserObjectRef>
  </create>
</action>

<laserObject l="laserobj">
	<num>20</num><distance>5</distance>
	<laserImgRef label="circlewhite"></laserImgRef>
	<collision type="laser">
		<left>0</left><right>8</right><top>0</top><bottom>16</bottom>
	</collision>

<!--
	<laserImgRef label="sample256"></laserImgRef>
-->


	<rep><ts>-1</ts>
		<changeDirection>
			<dir type="relative">90</dir><term>60</term>
		</changeDirection>
		<w>60</w>
	</rep>


</laserObject>


<laserImg type="normal" label="rectwhite">
	<file type="dds">rectwhite</file>
	<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
	<width>32</width><height>32</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</laserImg>

<laserImg type="normal" label="raysample1">
	<file type="dds">raysample1</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>64</width><height>0</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</laserImg>

<laserImg type="normal" label="sample256">
	<file type="dds">sample256</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>256</width><height>0</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</laserImg>

<laserImg type="normal" label="circlewhite">
	<file type="dds">circlewhite</file>
	<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
	<width>16</width><height>0</height>
	<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
</laserImg>

<!-- ***** SyncMesh サンプル ********************************************************** -->
<action l="syncmesh_sample_action">
  <global n="blur_alpha">0</global>

	<setLight type="ambient">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue><flag>0</flag>
  </setLight>

	<setLight type="directional">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue>
    <x>-0.5</x><y>0</y><z>1</z><num>0</num>
  </setLight>

	<setEye><worldx>0</worldx><worldy>10</worldy><worldz>0</worldz></setEye>
	<setLookAt><worldx>0</worldx><worldy>0</worldy><worldz>0</worldz></setLookAt>
	<setUpVec><worldx>0</worldx><worldy>0</worldy><worldz>1</worldz></setUpVec>

  <create>
    <cx>400</cx><cy>300</cy><speed>0</speed><dir type="abs">0</dir>
    <objectRef l="syncmesh_obj"></objectRef>
  </create>

<!--
  <create>
    <cx>400</cx><cy>300</cy><speed>2</speed><dir type="abs">0</dir>
    <objectRef l="syncobj_obj"></objectRef>
  </create>
-->

</action>

<object l="syncobj_obj">
	<objMeshRef l="ball0"><p>0</p><p>0</p><p>0</p></objMeshRef>
	<definedAction type="synctoobj"></definedAction>

	<collision type="rect">
		<left>-64</left><top>-64</top><right>64</right><bottom>64</bottom>
	</collision>

	<setMeshSpeed>
		<speed>0.01</speed>
	</setMeshSpeed>
</object>


<object l="syncmesh_obj">
	<objMeshRef l="ball0"><p>0</p><p>0</p><p>0</p></objMeshRef>
	<definedAction type="synctomesh"></definedAction>
  <setZ><z>0.95</z></setZ>

</object>

<object l="nosyncmesh_obj">
	<objMeshRef l="ball0"><p>4</p><p>0</p><p>0</p></objMeshRef>
</object>

<objMesh label="ball0">
	<file>ball</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>-0.02</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-2.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>2.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0.0</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>


<!-- ***** HDR サンプル *********************************************************** -->
<action l="hdr_sample_action">
  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="floor"></objectRef>
  </create>
</action>

<object l="floor">
	<objShapeMeshRef l="floormesh"></objShapeMeshRef>
	<setMeshTexture l="floormesh">
		<file type="dds">sample2_512</file>
		<num>0</num><flag>0</flag>
	</setMeshTexture>
	<setMeshTexture>
		<file type="dds">sample2_512</file>
		<num>0</num><flag>0</flag>
	</setMeshTexture>
</object>



<!-- ***** Sprite Particle サンプル *********************************************** -->
<action l="spriteparticle_sample_action">
  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <object>

			<setupSpriteParticle>
				<width>4</width><height>4</height>
				<file type="bmp">rectgreen64</file>
				<flag>0</flag>
				<flag2>0</flag2>
				<flag3>24</flag3>
				<num>5000</num>
			</setupSpriteParticle>

		  <rep><ts>-1</ts>
				<rep><ts>10</ts>
					<createSpriteParticle>
						<cx>150</cx><cy>300</cy>
						<flag>0</flag>
						<flag2>2</flag2>
						<flag3>$_rand*360</flag3>
						<term>60</term>
					</createSpriteParticle>
				</rep>
				<w>1</w>
			</rep>

		</object>
  </create>
</action>



<!-- ***** Bump Env サンプル ********************************************************** -->
<action l="bumpenvmap_sample_action">
  <global n="blur_alpha">0</global>

	<setLight type="ambient">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue><flag>0</flag>
  </setLight>

	<setLight type="directional">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue>
    <x>-0.5</x><y>0</y><z>1</z><num>0</num>
  </setLight>

	<setEye><worldx>0</worldx><worldy>11</worldy><worldz>0</worldz></setEye>


  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="envbumpbox_obj"><p>0</p><p>5</p><p>0</p></objectRef>
  </create>
</action>

<object l="envbumpbox_obj">
	<objMeshRef l="envbumpbox"><p>$1</p><p>$2</p><p>$3</p></objMeshRef>

	<setMeshTexture>
		<file type="dds">bark01Sb</file>
		<num>0</num><flag>1</flag>
	</setMeshTexture>
	<setMeshTexture>
		<file type="dds">sample256</file>
		<num>0</num><flag>2</flag>
	</setMeshTexture>

	<!-- MeshDrawState 5 = EFFECT_SPECULARBUMPENVMAP -->
  <setMeshDrawState>
		<num>5</num><worldz>1.0</worldz>
	</setMeshDrawState>

</object>

<!-- ***** Specular Env サンプル ********************************************************** -->
<action l="specularenvmap_sample_action">
  <global n="blur_alpha">0</global>

	<setLight type="ambient">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue><flag>0</flag>
  </setLight>

	<setLight type="directional">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue>
    <x>-0.5</x><y>0</y><z>1</z><num>0</num>
  </setLight>

	<setEye><worldx>0</worldx><worldy>11</worldy><worldz>0</worldz></setEye>

  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="specularenvbox_obj"><p>0</p><p>5</p><p>0</p></objectRef>
  </create>
</action>

<object l="specularenvbox_obj">
	<objMeshRef l="specularenvbox"><p>$1</p><p>$2</p><p>$3</p></objMeshRef>

	<setMeshTexture>
		<file type="dds">bark01Sb</file>
		<num>0</num><flag>1</flag>
	</setMeshTexture>

	<!-- MeshDrawState 6 = EFFECT_SPECULARENVMAP -->
  <setMeshDrawState>
		<num>6</num><worldz>1.0</worldz>
	</setMeshDrawState>

</object>


<!-- ***** Dot Product サンプル ********************************************************** -->
<action l="dotproduct_sample_action">
  <global n="blur_alpha">0</global>

	<setLight type="ambient">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue><flag>0</flag>
  </setLight>

	<setLight type="directional">
    <alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
    <x>-0.5</x><y>0</y><z>1</z><num>0</num>
  </setLight>

  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="dotproduct_box_obj"><p>0</p><p>5</p><p>0</p></objectRef>
  </create>
</action>

<object l="dotproduct_box_obj">
	<objMeshRef l="bumpbox2"><p>$1</p><p>$2</p><p>$3</p></objMeshRef>

	<setMeshTexture>
		<file type="dds">bark01S</file>
		<num>0</num><flag>1</flag>
	</setMeshTexture>

	<!-- MeshDrawState 3 = EFFECT_DOTPRODUCTBUMP -->
  <setMeshDrawState>
		<num>3</num>
	</setMeshDrawState>

</object>

<!--
<objMesh label="bumpbox">
	<file>bumpbox</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-200.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>200.0</worldmaxz>
	<rotatex>$4</rotatex><rotatey>$5</rotatey><rotatez>$6</rotatez>
	<rotatevx>0.2</rotatevx><rotatevy>0.3</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>

<objMesh label="bumpbox2">
	<file>bumpbox2</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-200.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>200.0</worldmaxz>
	<rotatex>$4</rotatex><rotatey>$5</rotatey><rotatez>$6</rotatez>
	<rotatevx>0.2</rotatevx><rotatevy>0.3</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>

<objMesh label="envbumpbox">
	<file>envbumpbox</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-200.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>200.0</worldmaxz>
	<rotatex>$4</rotatex><rotatey>$5</rotatey><rotatez>$6</rotatez>
	<rotatevx>0.2</rotatevx><rotatevy>0.3</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>

<objMesh label="specularenvbox">
	<file>specularenvbox</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-200.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>200.0</worldmaxz>
	<rotatex>$4</rotatex><rotatey>$5</rotatey><rotatez>$6</rotatez>
	<rotatevx>0.2</rotatevx><rotatevy>0.3</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>
-->


<!-- ***** BumpWave サンプル ****************************************************** -->
<action l="bumpwave_sample_action">
  <global n="blur_alpha">0</global>

	<setLight type="ambient">
    <alpha>255</alpha><red>64</red><green>64</green><blue>64</blue><flag>0</flag>
  </setLight>

	<setLight type="directional">
    <alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
    <x>-0.5</x><y>0</y><z>1</z><num>0</num>
  </setLight>

  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="bumpwave_floor_obj"><p>0</p><p>5</p><p>0</p></objectRef>
  </create>
</action>

<object l="bumpwave_floor_obj">
	<objShapeMeshRef l="floormesh"><p>$1</p><p>$2</p><p>$3</p><p>$4</p><p>$5</p><p>$6</p></objShapeMeshRef>

	<setMeshTexture>
		<file>sample256</file>
		<num>0</num><flag>1</flag>
	</setMeshTexture>
  <setMeshDrawState><num>4</num></setMeshDrawState>

</object>



<!-- ***** PixelSpecular サンプル ************************************************* -->
<action l="pixelspecular_sample_action">

	<setLight type="ambient">
    <alpha>255</alpha><red>32</red><green>32</green><blue>32</blue><flag>0</flag>
  </setLight>

	<setLight type="directional">
    <alpha>255</alpha><red>111</red><green>111</green><blue>111</blue>
    <x>-0.5</x><y>-1</y><z>1</z><num>0</num>
  </setLight>

  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="ball_obj"><p>-3</p><p>4</p><p>0</p></objectRef>
  </create>

  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="ball2_obj"><p>0</p><p>4</p><p>0</p></objectRef>
  </create>

  <create>
    <cx>320</cx><cy>240</cy><speed>0</speed><dir>0</dir>
    <objectRef l="ball3_obj"><p>3</p><p>4</p><p>0</p></objectRef>
  </create>

</action>

<object l="ball_obj">
	<objMeshRef l="ball"><p>$1</p><p>$2</p><p>$3</p></objMeshRef>
	<setShader>
		<file>PixelSpecular</file>
	</setShader>
</object>
<object l="ball2_obj">
	<objMeshRef l="ball2"><p>$1</p><p>$2</p><p>$3</p></objMeshRef>
	<setShader>
		<file>PixelSpecular</file>
	</setShader>
</object>
<object l="ball3_obj">
	<objMeshRef l="ball3"><p>$1</p><p>$2</p><p>$3</p></objMeshRef>
	<setShader>
		<file>PixelSpecular</file>
	</setShader>
</object>

<!--
<objMesh label="ball">
	<file>ball</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-200.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0.1</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>

<objMesh label="ball2">
	<file>ball2</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-200.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0.1</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>

<objMesh label="ball3">
	<file>ball3</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-200.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0.1</rotatevy><rotatevz>0.0</rotatevz>
	<flag>2</flag>
</objMesh>
-->


<!-- ****************************************************************************** -->

<objShapeMesh label="floormesh" type="board">
	<worldx>0</worldx><worldy>0</worldy><worldz>0.0</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>0</worldvz>
	<worldminx>-2000.0</worldminx><worldminy>-2000.0</worldminy><worldminz>-2000.0</worldminz>
	<worldmaxx>2000.0</worldmaxx><worldmaxy>2000.0</worldmaxy><worldmaxz>2000.0</worldmaxz>
	<rotatex>0.0</rotatex><rotatey>0.0</rotatey><rotatez>0.0</rotatez>
	<rotatevx>0.0</rotatevx><rotatevy>0.0</rotatevy><rotatevz>0.0</rotatevz>
	<width>15.0</width><height>15.0</height><x>1</x><y>1</y>
	<flag>2</flag>
</objShapeMesh>


<!-- ***** BEGIN : ダミーアクション ************************ -->
<action label="player_top">
	<create>
		<player>
			<speed>0</speed>
			<direction>0</direction>
			<cx>400</cx><cy>300</cy>
		</player>	
	</create>
	<exit></exit>
</action>

<action label="shot_1_top">
</action>

<action label="shot_2_top">
</action>

<action label="option_top">
</action>

<action label="bomb_top">
</action>

<action label="gameover_top">
</action>

<action label="tensionup_top">
</action>

<action label="pause_top">
</action>

</exbulletml>
