function setResolution (client-side)
Available since version: 0.1.0
This function will set the current resolution of the game window.
Declaration
bool setResolution(int x, int y, int bpp)
Parameters
intx: the width of the window.inty: the height of the window.intbpp: the bytes per pixel.
Returns bool
true when the resolution is supported and has been set, otherwise false.