Skip to content
Ahmed Castro edited this page Aug 20, 2020 · 1 revision
Attribute Type Required Default Description
velocity integer 5 Movement velocity
primary_weapon_velocity integer 5 Movement velocity
secondary_weapon_velocity integer 5 Movement velocity
animation_velocity integer 5
hp integer 100 Health, hit points
initial_position initial_position Character position at the beginning
sounds sounds Sound effects
life_bar life_bar Life bar settings
states states[] Sprite list
hitboxes hitbox[] Hitboxes
slow slow Slow mechanics config

XML Legend

  • Bold represents the Tags.
  • Italic represents the attributes.
  • [allows multiple] : The engine recognizes multiple sibling tags declarations.
  • [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.
Clone this wiki locally