Projectiles

Projectiles start at 0x300 and go up from there. They are defined in the projectiles.xml file.

Info

Projectiles are declared in the projectiles.xml file. They can then be attached with the Projectile property in the enemies.xml file or on items.

Properties

PropertyTypeDescriptionDefault Value
TypeStringThe type of object. This should always be Projectile.Projectile
SpriteStringThe sprite of the projectile.required

Attributes

AttributeTypeDescriptionDefault Value
idStringThe Hex Id for the projectile.required
nameStringThe name for the projectile.required

Example

<Object id="0x300" name="Simple Slash">
    <Type>Projectile</Type>
    <Sprite>Simple Slash</Sprite>
</Object>