Display

The Display represents the output where the SDK renders its changes. Currently, this is a canvas element.

Configuring the Display

To customize the display, you can modify its resolution or background color using the following syntax:

engine.display.setResolution(1920, 1080);
engine.display.setBackgroundColor("#FF0000");

These methods allow you to fine-tune the display settings to suit your project's needs.