Drawing

This section has all the different functions that are for drawing things with GameMaker: Studio.

When an object has a sprite assigned to it, it will draw that sprite without any need to add anything into the draw event. But there are many, many occasions when you will need to add other things into the draw event of an object and this section has all the functions that are available for the different things that you can draw, from simple circles and rectangles, through sprites and text, and on through 2D primitives, surfaces and 3D:

There are also a few special functions relating to the way that GameMaker: Studio draws the textures that it uses. Please realise that a sprite is actually a textured quad (a four point primitive made of two triangles) and as such some of the following functions will also affect how they are drawn:

Finally, there are two extra draw functions for advanced users to better control how things are drawn:


Back: Reference



No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here