Bullets.xml

Character's bullets definition.

Image description

 * The tags are colored in emerald.
 * The attributes are colored in violet.
 * The tag texts (not the attributes) are colored in orange.
 * [allows multiple] : The engine recognizes multiple tags declaration.
 * [integer] : The attribute is a numeric integer value. (examples: "128", "24", "53")
 * [string] : The attribute is a text string value. (example: "Basic bullet", "misc/winner/1.png", "Chuy")
 * [yes/no] : The attribute is a boolean "yes" or "no" vaule. (example: "yes", "no").
 * [mandatory] : The attribute is mandatory and has to be defined.
 * [default=X] : If the attribute is not defined, it will take the X value as default.

Tags description
Bold represents the Tags.

Italic represents the attributes.
 *  - Single bullet definition.
 * name - Bullet's name will be used in the patterns.xml file.
 * sound - Sound file (OGG) that will be played each time the bulet is launched if is not already playing.
 * sound_hit - Sound file (OGG) that will be played when the bullet collides.
 * damage - Damage deald by the bullet.
 *  - Bullet's single hitbox, multiple  tags are allowed.
 * x - Hitbox x position relative to the character.
 * y - Hitbox y position relative to the character.
 * width - Hitbox width.
 * height - Hitbox height.
 * ​angle - Hitbox rotation by its own center.
 *  - Bullet's single animation frame.
 * ​path - Image file path.
 *  - Animation triggered before disapear.
 * <​Sprite/> - Single animation frame displayed before disapear.
 * ​path - Image file path.

Cookbook
You can find quick XML recipes examples in the Cookbook.