BulletML Reference ver. 0.21                (c) ����(ABA."Saba")    ABA Games

BulletML�δʰץ�ե���󥹤Ǥ���

<bulletml> - Defines the BulletML's body ��������������������������������������

 �� Attribute - type = (none | vertical | horizontal)
   
 �� Contents - (bullet | action | fire)*
   
BulletML���Τ�������ޤ���

type°���ϡ��������뤬�ĥ��������륷�塼�ƥ����Ѥ��������������륷�塼�ƥ���
���Ѥ����ꤷ�ޤ���

<bullet> - Defines attributes of a bullet ������������������������������������ 

 �� Attribute - label = STRING
   
 �� Contents - direction?, speed?, (action | actionRef)*
   
 �� Exapmle
   
    <bullet label="downAccel">
    <direction>270</direction>
    <speed>2</speed>
    <action>
    <accel>
     <vertical>3</vertical>
     <term>120</term>
    </accel>
    </action>
    </bullet>

�Ƥ�������®�٤���ӥ���������������ޤ���

��٥�°���ǥ�٥�̾��Ĥ��뤳�Ȥ��Ǥ��ޤ�����٥��դ����줿bullet���Ǥϡ�
bulletRef���Ǥˤ�äƻ��Ȥ���ޤ���

<action> - Defines the action of bullet �������������������������������������� 

 �� Attribute - label = STRING
   
 �� Contents - (repeat | fire | fireRef | changeSpeed | changeDirection | accel
    | wait | vanish | action | actionRef)*
   
 �� Exapmle
   
    <action>
    <changeSpeed>
     <speed>0</speed>
     <term>60</term>
    </changeSpeed>
    <wait>60</wait>
    <fire><bullet/></fire>
    <fire>
     <direction type="absolute">330+$rand*25</direction>
     <bulletRef label="downAccel"/>
    </fire>
    <vanish/>
    </action>

�ƤΥ���������������ޤ�����٥��դ����줿action���Ǥϡ�actionRef���Ǥˤ�ä�
���Ȥ���ޤ���

<fire> - Fires a bullet ������������������������������������������������������ 

 �� Attribute - label = STRING
   
 �� Contents - direction?, speed?, (bullet | bulletRef)
   
 �� Exapmle
   
    <fire>
     <direction type="absolute">270</direction>
     <speed>2</speed>
     <bulletRef label="rocket"/>
    </fire>

�Ƥ�<direction>��������®��<speed>�Ƿ���ޤ�����٥��դ����줿fire���Ǥϡ�
fireRef���Ǥˤ�äƻ��Ȥ���ޤ���

<changeDirection> - Changes the direction of bullet �������������������������� 

 �� Contents - direction, term
   
�Ƥ�������<direction>�٤�<term>�ե졼�फ���ƶʤ��ޤ��� 1�ե졼���1/60�äǤ���

<changeSpeed> - Changes the speed of bullet ���������������������������������� 

 �� Contents - speed, term
   
�Ƥ�®�٤�<speed>��<term>�ե졼�फ�����Ѥ��ޤ���

<accel> - Accelerates a bullet ������������������������������������������������

 �� Contents - horizontal?, vertical?, term
   
�Ƥ��ʿ������<horizontal>����ľ������<vertical>�� <term>�ե졼�फ���Ʋ�®����
����

<wait> - Waits ����������������������������������������������������������������

 �� Contents - NUMBER
   
NUMBER�ե졼���Ԥ��ޤ���

<vanish> - Vanishes a bullet ��������������������������������������������������

�Ƥ�ä��ޤ���

<repeat> - Repeats an action ��������������������������������������������������

 �� Contents - times, (action | actionRef)
   
 �� Exapmle
   
    <repeat>
    <times>100</times>
    <action>
     <fire>
      <direction type="absolute">220+$rand*100</direction>
      <bulletRef label="backBurst"/>
     </fire>
     <wait>6</wait>
    </action>
    </repeat>

����������<times>�󷫤��֤��ޤ���

<direction> - Specifies a direction ������������������������������������������ 

 �� Attribute - type = (aim | absolute | relative | sequence)
   
 �� Contents - NUMBER
   
��������ñ�̤ǻ��ꤷ�ޤ���

type��"aim"�ξ�硢����������������0�������ͤˤʤ�ޤ���

type��"absolute"�ξ�硢NUMBER�������͡ʾ�������0�ǻ��ײ��ˤǤ���

type��"relative"�ξ�硢NUMBER�Ϥ����Ƥ�������0�������ͤˤʤ�ޤ���

type��"sequence"�ξ�硢ľ�����Ƥ��ä�������0�������ͤˤʤ�ޤ���

<speed> - Specifies a speed �������������������������������������������������� 

 �� Attribute - type = (absolute | relative | sequence)
   
 �� Contents - NUMBER
   
®�٤���ꤷ�ޤ���

type��"relative"�ξ�硢 changeSpeed������Ǥϸ��ߤ��Ƥ�®�٤Ȥ������͡������
����������ǤϤ����Ƥ�®�٤Ȥ������ͤǤ���

type��"sequence"�ξ�硢 changeSpeed������Ǥ��Ƥ�®�٤�Ϣ³Ū���Ѳ�����������
�ʳ���������Ǥ�ľ�����Ƥ�®�٤Ȥ������ͤǤ���

<horizontal> - Specifies the acceleration in a horizontal line ����������������

 �� Attribute - type = (absolute | relative | sequence)
   
 �� Contents - NUMBER
   
��ʿ�������Ƥβ�®�٤���ꤷ�ޤ���

type��"relative"�ξ�硢���ߤ��Ƥ�®�٤Ȥ������ͤǤ��� type��"sequence"�ξ�硢
��®�٤�Ϣ³Ū���Ѳ������ޤ���

<vertical> - Specifies the acceleration in a vertical line ��������������������

 �� Attribute - type = (absolute | relative | sequence)
   
 �� Contents - NUMBER
   
��ľ�������Ƥβ�®�٤���ꤷ�ޤ���

type��"sequence"�ξ�硢���ߤ��Ƥ�®�٤Ȥ������ͤǤ��� type��"sequence"�ξ�硢
��®�٤�Ϣ³Ū���Ѳ������ޤ���

<term> - Specifies a term ���������������������������������������������������� 

 �� Contents - NUMBER
   
���֤���ꤷ�ޤ���

<times> - Specifies the number of times �������������������������������������� 

 �� Contents - NUMBER
   
�����֤��������ꤷ�ޤ���

<bulletRef> - Refers to the bullet ��������������������������������������������

 �� Attribute - label = STRING
   
 �� Contents - param*
   
��٥��դ����줿bullet���Ǥ򻲾Ȥ��ޤ����������Ǥ�Ʊ̾�Υ�٥�ǥ�٥��դ�����
��bullet���Ǥ�Ʊ���˰����ޤ���

���Ȥ��줿bullet��������ѿ���$1, $2, $3, ...�ˤϡ� <param>���Ǥ˻��ꤵ�줿����
���֤��������ޤ����ʺǽ�˽и�����param���Ǥ�$1�ˡ����˽и�����param���Ǥ�$2
�ˡ�...��

<actionRef> - Refers to the action ��������������������������������������������

 �� Attribute - label = STRING
   
 �� Contents - param*
   
��٥��դ����줿action���Ǥ򻲾Ȥ��ޤ����������Ǥ�Ʊ̾�Υ�٥�ǥ�٥��դ�����
��action���Ǥ�Ʊ���˰����ޤ���

���Ȥ��줿action��������ѿ��ϡ�<param>���Ǥ˻��ꤵ�줿���ͤ��֤��������ޤ���

<fireRef> - Refers to the fire action ���������������������������������������� 

 �� Attribute - label = STRING
   
 �� Contents - param*
   
��٥��դ����줿fire���Ǥ򻲾Ȥ��ޤ����������Ǥ�Ʊ̾�Υ�٥�ǥ�٥��դ����줿
fire���Ǥ�Ʊ���˰����ޤ���

���Ȥ��줿fire��������ѿ��ϡ�<param>���Ǥ˻��ꤵ�줿���ͤ��֤��������ޤ���

<param> - Specifies the parameter �������������������������������������������� 

 �� Contents - NUMBER
   
�ѥ�᥿����ꤷ�ޤ���

STRING - any string ���������������������������������������������������������� 

��٥���ʸ����Ǥ���

NUMBER - expression ���������������������������������������������������������� 

 �� Exapmles
   
    35
    360/16
    0.7 + 0.9*$rand
    180-$rank*20
    (2+$1)*0.3

���ͤ���ꤹ�뤿��μ��Ǥ���

��§�黻�Ⱦ�;������̡��ѿ��ʥѥ�᥿�Ѥ�$1, $2, $3...�������0����1�ޤǤ��͡�
�Ѥ�$rand������١�0����1�ޤǤ��͡��Ѥ�$rank�ˤ��Ȥ��ޤ���