frame-msg
    Preparing search index...

    Class TxSpriteCoords

    A message containing sprite coordinates information for display.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    code: number

    Unsigned byte identifying the sprite code

    offset: number

    Palette offset value for the sprite (0..15)

    x: number

    X-coordinate for sprite position (1..640)

    y: number

    Y-coordinate for sprite position (1..400)

    Methods

    • Packs the message into a binary format.

      Returns Uint8Array

      Uint8Array Binary representation of the message in the format: [code, x_msb, x_lsb, y_msb, y_lsb, offset] (6 bytes)