Screen & Viewport
The Screen is useful for for controlling the shape and behavior of you screen.
Basic Screen
For many games specifying a static width and height is all you need. This example is the default DisplayMode, fixed.
typescript
const game = new ex.Engine({width: 800,height: 600});
typescript
const game = new ex.Engine({width: 800,height: 600});
The above snippet has the affect of setting the logical resolution to 800x600 and the viewport css pixels to 800x600.