GM: surface create

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is surface_create(w,h). It appears incorrectly here because of technical restrictions.
The correct title of this article is surface_create(). It appears incorrectly here because of technical restrictions.


Arguments

w = Width of surface to create

h = Height of surface to create

Limitations

none.

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

This function creates a surface and returns the surface ID (which in this case is held in the variable 'surface'). You must receive the surface ID by a variable to use it in later surface functions.

[edit] See Also

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