emillon / bulletml

Tools to manipulate and interpret shmup patterns
BSD 2-Clause "Simplified" License
80 stars 5 forks source link

[Progear]_round_1_boss_grow_bullets.xml #18

Closed emillon closed 10 years ago

emillon commented 10 years ago

This pattern does not seem to do the same as in this video.

emillon commented 10 years ago

It seems to be a scope problem.

When something with type="sequence", the "previous direction" is local to the enclosing <action>.

In this particular pattern, there is:

<repeat><times>4+$rank*6</times>
<action>
 <fire>
  <direction type="sequence">15</direction>
  <bulletRef label="seed"/>
 </fire>
</action>
</repeat>
</action>

So the expected behaviour is to shoot bullet at 0 15 30 45 0 15 30 45 0 15 30 45 0 15 30 45, not 0 15 30 45 60 75 90 [...].