surface_create(w,h)

w = Width of surface to create

h = Height  of surface to create

 

Example

surface=surface_create(600,300);

 

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.

 

esh_corp11 - Revision #1