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?

bulletml.jsの研究 その4

0
Last updated at Posted at 2021-01-27

概要

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

自機狙い

<bulletml>
	<action label="top">
		<repeat>
			<times>222</times>
			<action>
 				<fire>
  				<direction type="sequence">23</direction>
	  			<bullet>
						<action>
 							<wait>20 + $rand * 50</wait>
 							<changeDirection>
  							   <direction type="aim">0</direction>
  							   <term>10</term>
 							</changeDirection>
						</action>
					</bullet>
 				</fire>
 				<wait>1</wait>
			</action>
		</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?