GameMaker Touhou Engine   Home   Downloads   Documentation


A script that draws a single digit (or symbol) using a given sprite.

Returns: Void


_DRAW_DIGIT_SINGLE(dx, dy, dg, dw, ds, n)


Name Type Significance
dx Integer The X-coordinate to draw the digit at.
dy Integer The Y-coordinate to draw the digit 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 digit to draw.

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

**If higher than nine, will draw whatever comes up next in dg.