FGGE Documentation
setCanvasSize(width, height)
Sets the size of the canvas as specified.
Parameters:
width
- The width of the canvas in pixels.
height
- The height of the canvas in pixels.
Example:
GameEngine.Renderer.setCanvasSize(800, 600);