Customization of Sequence

Aug 25, 2014 at 7:34 AM
Edited Aug 25, 2014 at 7:37 AM
Sequence contains all/some animation logic, this are composed by frame into frames collection.
Any sequence have this attributes


NAME= name of the sequence there are name content into the Enumeration.cs into
the "State enum" are fixed values.

RAISED = tell if the sequence if over the floor raised is used for tell if sprite is jumping or falling or over the floor (if false).

COLLISION = if is passable or not
    public enum TileCollision
        /// <summary>
        /// A passable tile is one which does not hinder player motion at all, like a space
        /// </summary>
        Passable = 0,

        /// <summary>
        /// An impassable tile is one which does not allow the player to move through
        /// it at all. It is completely solid, like a wall block
        /// </summary>
        Impassable = 1,

        /// <summary>
        /// Standard floor
        /// </summary>
        Platform = 2,