RB.Ticks
Property - Static Read Only
Type
ulong
Description
Represents the count of calls to IRetroBlitGame.Update since startup, or since RB.TicksReset was called.
Example
int DrawAnimatedSprite(Vector2i pos, int firstFrame, int totalFrames) { RB.DrawSprite(firstFrame + (int)(RB.Ticks % totalFrames), pos); } |
See Also
IRetroBlitGame.Update
RB.TicksReset
|