draw_text() (Game Maker)

draw_text()

( Game Maker 6.1, 7 )

draw_text - draw text to the game window

Description

draw_text( x, y, text)

  • x - x location of the text to be drawn
  • y - y location of the text to be drawn
  • text - text to be drawn, as a string.

draw_text draws text to the screen in the current drawing color. Make sure to put this function in the draw event or the text will not be seen.

Examples

draw_text(100,100,"Text at 100,100.");

Similar To

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.