Click or drag to resize
SpriteBasedx Field
Horizontal velocity of the sprite in pixels per frame

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public double dx

Field Value

Type: Double
Remarks
Negative numbers represent leftward movement while positive numbers represent rightward movement. This value only represents the final velocity of the sprite relative to the layer. If the sprite is riding a platform, see LocalDX.
See Also