display_set_size(w,h)
From ENIGMA
Description
Sets the display size, also known as the resolution.
Parameters
Parameter | Data Type | Description |
---|---|---|
w | integer | width of the display, in pixels |
h | integer | height of the display, in pixels |
Return Values
boolean: Returns whether the call was successful.
Example Call
// demonstrates setting the resolution to 800x600
display_set_size(800,600);
display_set_size(800,600);