0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

bulletml.jsの研究 その10

Posted at

#概要

bulletml.jsの研究です。
技を調査。

#ワインダー

<bulletml>
	<action label="top">
		<repeat>
			<times>10</times>
			<action>
				<fire>
					<direction type="absolute">2</direction>
					<bulletRef label="winderBullet"/>
				</fire>
				<actionRef label="winderSequence">
					<param>31</param>
				</actionRef>
				<wait>200</wait>
			</action>			
		</repeat>
	</action>
	<bullet label="winderBullet">
		<speed>3</speed>
	</bullet>
	<fire label="fireWinder">
		<direction type="sequence">$1</direction>
		<bulletRef label="winderBullet"/>
	</fire>
	<action label="roundWinder">
		<fireRef label="fireWinder">
			<param>$1</param>
		</fireRef>
		<repeat> 
			<times>11</times>
			<action>
				<fireRef label="fireWinder">
					<param>30</param>
				</fireRef>
			</action>
		</repeat>
		<wait>5</wait>
	</action>
	<action label="winderSequence">
		<repeat> 
			<times>12</times>
			<actionRef label="roundWinder">
				<param>30</param>
			</actionRef>
		</repeat>
		<repeat> 
			<times>12</times>
			<actionRef label="roundWinder">
				<param>$1</param>
			</actionRef>
		</repeat>
		<repeat> 
			<times>12</times>
			<actionRef label="roundWinder">
				<param>30</param>
			</actionRef>
		</repeat>
	</action>
</bulletml>

間隔の短い高速弾で「弾の壁」を作り、自機の動きを制限することを目的とした攻撃です。
ワインダー自体を徐々に動かす、幅を狭める等で変化をつけることが出来ます。
固定方向弾と同じく単独では意味をなさないため、他の攻撃と組み合わせて使います。

#成果物

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?