Click or drag to resize
SpriteBase Fields

The SpriteBase type exposes the following members.

Fields
  NameDescription
Public fieldcolor
Public fielddx
Horizontal velocity of the sprite in pixels per frame
Public fielddy
Vertical velocity of the sprite in pixels per frame
Public fieldframe
Numeric value corresponding to the sprite's current frame.
Public fieldinputs
Stores the inputs that are currently being "pressed" on this sprite.
Public fieldisActive
Determines if this sprite is currently active.
Public fieldLocalDX
Horizontal velocity relative to the sprite's environment (like a platform)
Public fieldLocalDY
Vertical velocity relative to the sprite's environment
Public fieldoldinputs
Remembers the inputs that were active on this sprite in the previous frame
Public fieldoldX
The value of this sprite's x coordinate on the previous frame.
Public fieldoldY
The value of this sprite's y coordinate on the previous frame.
Public fieldProcessed
Determines if this sprite's definition's rules have been processed yet this frame
Public fieldRidingOn
Stores the platform sprite (the sprite that this sprite rides on). If not set, then the sprite is not riding anything.
Public fieldCode examplestate
Numeric value corresponding to the sprite's current state.
Public fieldTouchedTiles
A collection of tiles being processed by TouchTiles(TileCategoryName) and other rules related to tile interactions.
Public fieldx
Horizontal coordinate of the sprite within its layer.
Public fieldy
Vertical coordinage of the sprite within its layer.
Top
See Also