今日の弾幕

ゆるめ誘導弾

ありがちな、ちょっと速めのゆるい誘導弾です。

<?xml version="1.0"?>
<!DOCTYPE bulletml SYSTEM "bulletml.dtd">
<bulletml>
	<action label="top">
		<repeat>
			<times>8</times>
			<action>
				<fire>
					<direction type="aim">360*$rand</direction>
					<speed>5</speed>
					<bulletRef label="seed"/>
				</fire>
				<wait>10</wait>
			</action>
		</repeat>
		<wait>120</wait>
	</action>
	<!-- 最初の種弾 -->
	<bullet label="seed">
		<action>
			<changeSpeed>
				<speed>0</speed>
				<term>20</term>
			</changeSpeed>
			<wait>80</wait>
			<fire>
				<direction type="absolute">-135+90*$rand</direction>
				<!-- ちょっと速め -->
				<speed>5</speed>
				<bulletRef label="homing"/>
			</fire>
			<vanish/>
		</action>
	</bullet>
	<!-- 加速誘導弾 -->
	<bullet label="homing">
		<action>
			<changeSpeed>
				<speed>10</speed>
				<term>60</term>
			</changeSpeed>
			<repeat>
				<times>20</times>
				<action>
					<!-- ゆるい誘導 -->
					<changeDirection>
						<direction type="aim">0</direction>
						<term>30</term>
					</changeDirection>
					<wait>1</wait>
				</action>
			</repeat>
			<!-- 時間切れ -->
			<wait>9999</wait>
		</action>
	</bullet>
</bulletml>