# dmdWindow Object

dmdWindow is a pre-defined PinballY object representing the DMD window in the user interface. The DMD window (for "Dot Matrix Display") is the window that simulates the plasma score display on 1990s+ pinball machines. It can also emulate the alphanumeric display on 1980s games.

Note that dmdWindow refers to the video simulation of the dot matrix display, not to a physical DMD device (if you have one). This is just one more video window that displays images and videos from your Media folder. In this case, it's assumed that the images and videos in the Media folder will look like dot matrix displays (or alphanumeric displays, for older games), but that's not a "rule" - you can display whatever type of graphics you want here. For older games that predate digital displays, for example, you could use this as an extension of the backglass artwork.

The DMD window works like most of the Secondary Windows, in that it displays image and video files in your Media folder tree designated for the DMD window. It has the additional special feature that it synthesizes graphics to display the live high scores as recorded by the game player system, when available, using a display style appropriate for the game's era. The synthesized high score graphics are automatically alternated with the background images or videos from the Media folders, to approximate the way that modern pinball machines display a series of animations and high score screens while in attract mode.

## Class inheritance structure

This object is an instance of the Secondary Window class, so it has all of the behavior defined in that class, as well as in the base window class.

Basic Window Object →
Secondary Window →
dmdWindow

## Event target

The DMD window object is an event target, so you can use the standard event methods (on(), off(), addEventListener(), etc) to add and remove event listeners. See EventTarget. This window receives the following event types:

## Methods and properties

This object is a Secondary Window, so it inherits the methods and properties defined for that class as well as the common window base class methods and properties. It doesn't currently have any additional properties or methods beyond the common set.