Add standard examples.
[python-bulletml.git] / examples / boss / [Progear]_round_2_boss_struggling.xml
diff --git a/examples/boss/[Progear]_round_2_boss_struggling.xml b/examples/boss/[Progear]_round_2_boss_struggling.xml
new file mode 100644 (file)
index 0000000..dd0ba05
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" ?>\r
+<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">\r
+\r
+<bulletml type="horizontal"\r
+          xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">\r
+\r
+<action label="top">\r
+<repeat> <times>100</times>\r
+<action>\r
+ <fire>\r
+  <direction type="sequence">180</direction>\r
+  <bulletRef label="changeStraight"/>\r
+ </fire>\r
+ <fire>\r
+  <direction type="sequence">160</direction>\r
+  <bulletRef label="changeStraight"/>\r
+ </fire>\r
+ <wait>2</wait>\r
+</action>\r
+</repeat>\r
+</action>\r
+\r
+<bullet label="changeStraight">\r
+<speed>0.6</speed>\r
+<action>\r
+<wait>20+$rand*100</wait>\r
+<changeDirection>\r
+ <direction type="absolute">270</direction>\r
+ <term>60</term>\r
+</changeDirection>\r
+<changeSpeed>\r
+ <speed>0</speed>\r
+ <term>40</term>\r
+</changeSpeed>\r
+<wait>40</wait>\r
+<changeSpeed>\r
+ <speed>0.5+$rand*0.7</speed>\r
+ <term>20</term>\r
+</changeSpeed>\r
+</action>\r
+</bullet>\r
+\r
+</bulletml>\r