New S-shaped falling bullet pattern.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 21 Mar 2010 08:01:19 +0000 (01:01 -0700)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 21 Mar 2010 08:01:19 +0000 (01:01 -0700)
examples/normal/s-fall.xml [new file with mode: 0644]

diff --git a/examples/normal/s-fall.xml b/examples/normal/s-fall.xml
new file mode 100644 (file)
index 0000000..6797626
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" ?>\r
+<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">\r
+\r
+<bulletml xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml"\r
+         xmlns:py="http://code.google.com/p/python-bulletml/">\r
+  <action label="top">\r
+    <repeat>\r
+      <times>10</times>\r
+      <action>\r
+       <fireRef label="fallerLeft"/>\r
+       <fireRef label="fallerRight"/>\r
+       <wait>8</wait>\r
+      </action>\r
+    </repeat>\r
+  </action>\r
+  \r
+  <fire label="fallerLeft">\r
+    <bullet>\r
+      <direction type="absolute">180</direction>\r
+      <speed>2</speed>\r
+      <action>\r
+       <accel>\r
+         <term>0</term>\r
+         <vertical>-1</vertical>\r
+       </accel>\r
+       <changeDirection>\r
+         <term>10</term>\r
+         <direction type="sequence">-8</direction>\r
+       </changeDirection>\r
+       <wait>10</wait>\r
+       <repeat>\r
+         <times>9999</times>\r
+         <action>\r
+           <changeDirection>\r
+             <term>20</term>\r
+             <direction type="sequence">8</direction>\r
+           </changeDirection>\r
+           <wait>20</wait>\r
+           <changeDirection>\r
+             <term>20</term>\r
+             <direction type="sequence">-8</direction>\r
+           </changeDirection>\r
+           <wait>20</wait>\r
+         </action>\r
+       </repeat>\r
+      </action>\r
+    </bullet>\r
+  </fire>\r
+\r
+  <fire label="fallerRight">\r
+    <bullet>\r
+      <direction type="absolute">180</direction>\r
+      <speed>2</speed>\r
+      <action>\r
+       <accel>\r
+         <term>0</term>\r
+         <vertical>-1</vertical>\r
+       </accel>\r
+       <changeDirection>\r
+         <term>10</term>\r
+         <direction type="sequence">8</direction>\r
+       </changeDirection>\r
+       <wait>10</wait>\r
+       <repeat>\r
+         <times>9999</times>\r
+         <action>\r
+           <changeDirection>\r
+             <term>20</term>\r
+             <direction type="sequence">-8</direction>\r
+           </changeDirection>\r
+           <wait>20</wait>\r
+           <changeDirection>\r
+             <term>20</term>\r
+             <direction type="sequence">8</direction>\r
+           </changeDirection>\r
+           <wait>20</wait>\r
+         </action>\r
+       </repeat>\r
+      </action>\r
+    </bullet>\r
+  </fire>\r
+</bulletml>\r