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 Type Significance
dx Integer The X-coordinate to draw the leftmost digit at.
dy Integer The Y-coordinate to draw the number at.
dg* Reference to 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 Non-negative Integer The number to draw.
mx Non-negative 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.