PyBMLサンプル

白い弾幕くんより、大往生3ボスを。

<?xml version="1.0"?>
<!DOCTYPE bulletml SYSTEM "bulletml.dtd">
<bulletml>
	<action label="top">
		<repeat>
			<times>3</times>
			<action>
				<fire>
					<direction type="absolute">-60+30*$cnt</direction>
					<speed>3</speed>
					<bulletRef label="roll">
						<param>60</param>
					</bulletRef>
				</fire>
			</action>
		</repeat>
		<repeat>
			<times>3</times>
			<action>
				<fire>
					<direction type="absolute">120+30*$cnt</direction>
					<speed>3</speed>
					<bulletRef label="roll">
						<param>60</param>
					</bulletRef>
				</fire>
			</action>
		</repeat>
		<wait>240</wait>
	</action>
	<bullet label="roll">
		<action>
			<changeSpeed>
				<speed>0</speed>
				<term>$1</term>
			</changeSpeed>
			<wait>$1</wait>
			<repeat>
				<times>36*3</times>
				<action>
				<fire>
					<direction type="relative">10</direction>
					<speed>3</speed>
					<bullet/>
				</fire>
				</action>
			</repeat>
			<vanish/>
		</action>
	</bullet>
</bulletml>