GM: draw point color

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is draw_point_color(x,y,col). It appears incorrectly here because of technical restrictions.

Description

This function will draw a point (pixel) in the specified colour (col) on the playing area. col can be one of the in built colors or you can specify the exact color in one of the ways outlined in draw_set_color.

Arguments

  • x (real): Horizontal position (in pixels) in the room
  • y (real): Vertical position (in pixels) in the room
  • col (real): The colour of the point to be placed.


[edit] Remarks

This function can only be called in the Draw Event or used with Surfaces.

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by nickydude.
See the talk page for details
Personal tools