GameMaker Touhou Engine   Home   Downloads   Documentation

_DRAW_DIGIT_CINTEGER()


A script that draws an unsigned integer without a thousands separator using a given sprite.


Returns: Void


Syntax:


_DRAW_DIGIT_CINTEGER(dx, dy, dg, dw, ds, n, mx)

Arguments:


Name Value Significance
dx <integer> The X-coordinate to draw the leftmost digit at.
dy <integer> The Y-coordinate to draw the number at.
dg* <sprite> The sprite to use.
dw <integer> The width of a single digit in dg.
ds <integer> The space between each digit in dg.
n <integer(0-)> The number to draw.
mx <integer> The maximum number to draw. The final number displayed will be n modulo mx.

*Must be in the same format as the _DIGITS... sprites.


Actions:


Draw each digit one by one using _DRAW_DIGIT_SINGLE().