SpriteBase Fields |
The SpriteBase type exposes the following members.
Name | Description | |
---|---|---|
color | ||
dx |
Horizontal velocity of the sprite in pixels per frame
| |
dy |
Vertical velocity of the sprite in pixels per frame
| |
frame |
Numeric value corresponding to the sprite's current frame.
| |
inputs |
Stores the inputs that are currently being "pressed" on this sprite.
| |
isActive |
Determines if this sprite is currently active.
| |
LocalDX |
Horizontal velocity relative to the sprite's environment (like a platform)
| |
LocalDY |
Vertical velocity relative to the sprite's environment
| |
oldinputs |
Remembers the inputs that were active on this sprite in the previous frame
| |
oldX |
The value of this sprite's x coordinate on the previous frame.
| |
oldY |
The value of this sprite's y coordinate on the previous frame.
| |
Processed |
Determines if this sprite's definition's rules have been processed yet this frame
| |
RidingOn |
Stores the platform sprite (the sprite that this sprite rides on).
If not set, then the sprite is not riding anything.
| |
state |
Numeric value corresponding to the sprite's current state.
| |
TouchedTiles |
A collection of tiles being processed by TouchTiles(TileCategoryName) and other rules
related to tile interactions.
| |
x |
Horizontal coordinate of the sprite within its layer.
| |
y |
Vertical coordinage of the sprite within its layer.
|