Skip to content

Instantly share code, notes, and snippets.

@solarsailer
Created January 23, 2015 17:06
Show Gist options
  • Save solarsailer/843b1caee64443133874 to your computer and use it in GitHub Desktop.
Save solarsailer/843b1caee64443133874 to your computer and use it in GitHub Desktop.
BulletML Quick Shot Pattern
<?xml version="1.0"?>
<!DOCTYPE bulletml SYSTEM "bulletml.dtd">
<bulletml type="horizontal" xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">
<action label="top">
<repeat>
<!-- Main Loop -->
<times>99999</times>
<action>
<actionRef label="pattern" />
<wait>20</wait>
</action>
</repeat>
</action>
<action label="pattern">
<trigger>attack</trigger>
<actionRef label="shoot">
<param>270 - 15</param>
</actionRef>
<actionRef label="shoot">
<param>270</param>
</actionRef>
<actionRef label="shoot">
<param>270 + 15</param>
</actionRef>
</action>
<action label="shoot">
<fire>
<direction type="absolute">$1</direction>
<bullet label="bullet_normal">
<speed>0.5</speed>
<action>
<wait>5</wait>
<changeSpeed>
<speed>0.030 + 0.20 * $rank</speed>
<term>10</term>
</changeSpeed>
</action>
</bullet>
</fire>
</action>
</bulletml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment