Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit Coding Reference
SpriteBase Class
SpriteBase Methods
AccelerateByInputs Method
AddSpriteHere Method
AlterXVelocity Method
AlterYVelocity Method
Animate Method
Blocked Method
CalculateRotatedState Method
ClearInputs Method
ClearParameters Method
Deactivate Method
GetBounds Method
GetCurrentFramesetFrames Method
GetNearestSpriteIndex Method
GetPolarStateByVector Method
GetRelativePosition Method
IsInputPressed Method
IsInState Method
IsMoving Method
IsOnTile Method
IsPointBlocked Method
IsRidingPlatform Method
LandDownOnPlatform Method
LimitVelocity Method
MapKeyToInput Method
MapMouseToSprite Method
MapPlayerToInputs Method
MoveByVelocity Method
PolarAccelerate Method
ProcessRules Method
PushSprite Method
PushSpriteIntoView Method
PushTowardCategory Method
PushTowardSprite Method
ReactToInertia Method
ReactToPlatform Method
ReactToPush Method
ReactToPushback Method
ReactToSolid Method
RemoveFromCategories Method
RotateVelocity Method
ScrollSpriteIntoView Method
SetInputState Method
SetInputsTowardCategory Method
SetInputsTowardSprite Method
SetSolidity Method
SnapToGround Method
StopRiding Method
SwitchToState Method
TestCollisionMask Method
TestCollisionRect Method
TileActivateSprite Method
TileAddSprite Method
TileCategoryTouched Method
TileChange Method
TileChangeTouched Method
TileTake Method
TileTouchingIndex Method
TileUseUp Method
TouchTiles Method
SpriteBase
Animate Method
Advance the animation frame of this sprite according to its velocity or a constant rate.
Namespace:
(Default Namespace)
Assembly:
Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
Copy
public
virtual
void
Animate
(
SpriteBase
SpriteAnimationType
Correlation
)
Parameters
Correlation
Type:
(Default Namespace)
SpriteBase
SpriteAnimationType
Determines how and if the sprite's animation speed should be based on its movement.
See Also
Reference
SpriteBase Class
(Default Namespace) Namespace
Send comments on this topic to
bluemonkmn@users.sourceforge.net