Add standard examples.
[python-bulletml.git] / examples / normal / [G_DARIUS]_homing_laser.xml
diff --git a/examples/normal/[G_DARIUS]_homing_laser.xml b/examples/normal/[G_DARIUS]_homing_laser.xml
new file mode 100644 (file)
index 0000000..bf1f208
--- /dev/null
@@ -0,0 +1,54 @@
+<?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>8</times>\r
+<action>\r
+ <fire>\r
+  <direction>-60+$rand*120</direction>\r
+  <bulletRef label="hmgLsr"/>\r
+ </fire>\r
+ <repeat><times>8</times>\r
+ <action>\r
+  <wait>1</wait>\r
+  <fire>\r
+   <direction type="sequence">0</direction>\r
+   <bulletRef label="hmgLsr"/>\r
+  </fire>\r
+ </action>\r
+ </repeat>\r
+ <wait>10</wait>\r
+</action>\r
+</repeat>\r
+</action>\r
+\r
+<bullet label="hmgLsr">\r
+<speed>2</speed>\r
+<action>\r
+<changeSpeed>\r
+ <speed>0.3</speed>\r
+ <term>30</term>\r
+</changeSpeed>\r
+<wait>100</wait>\r
+<changeSpeed>\r
+ <speed>5</speed>\r
+ <term>100</term>\r
+</changeSpeed>\r
+</action>\r
+<action>\r
+<repeat><times>9999</times>\r
+<action>\r
+ <changeDirection>\r
+  <direction type="aim">0</direction>\r
+  <term>60-$rank*20</term>\r
+ </changeDirection>\r
+ <wait>5</wait>\r
+</action>\r
+</repeat>\r
+</action>\r
+</bullet>\r
+\r
+</bulletml>\r