Game Development Reference
In-Depth Information
As you can see, we need to give it an x and y position, as well as a string to draw.
So, to draw text at the top left of the room, we will enter 0 for the x position and 0 for the
y position. Arguments are separated by comers when typing them. For the string, we
simply type any string we want to draw. Remember that a string is enclosed by quotation
marks.
When running this code, it will draw our text to the top left of the screen.
All functions have the same structure but do different things. For a complete list of func-
tions and what they do, open the GameMaker help file by pressing F1 . You may also ac-
cess documentation on a specific function by clicking on the scroll wheel of your mouse
on the text or pressing F12 with the text cursor somewhere within the function name.
The GameMaker help file can be seen online at http://docs.yoyogames.com/source/da-
diospice/ .
Search WWH ::




Custom Search