DrawActName¶
Description¶
Draws the current stage's title.
Parameters¶
startingFrame-
The ID of the first of fifty-two SpriteFrames, the first twenty-six representing uppercase letters A-Z, and the latter twenty-six representing lowercase letters a-z. This function only supports the English alphabet.
xpos,ypos-
The position of the sprite on the horizontal and vertical axes in screen-space.
drawMode-
The word and alignment to draw with:
-
0- Word 1, aligned to the right
-
1- Word 1, aligned to the left
-
2- Word 2, aligned to the left
Note
There is no mode for drawing Word 2 aligned to the right.
useAllCaps-
If set to
true, all letters drawn will be uppercase. spaceWidth-
The width of space (
) characters, in pixels. spacing-
The size of the space between letters, in pixels.
Return Value¶
None.
Syntax¶
DrawActName(int startingFrame, int xpos, int ypos, int drawMode, bool useAllCaps, int spaceWidth, int spacing)