Skip to content

MovingSpriteOptions

Alex Kulcsar edited this page Apr 20, 2023 · 1 revision

MovingSpriteOptions interface

Configuration for moving sprites.

Fields

  • imgs: Image[] Collection of images for the moving sprites.
  • dir: SpriteDirection A value from the SpriteDirection enum representing how the images "point."
  • mode: SpriteMode A value from the SpriteMode enum
  • speed: number Speed at which the sprite will move.
  • y: number Vertical coordinate for sprites in Blank Space mode.
Clone this wiki locally