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


Draw the part of dg that contains the provided digit.