Sprites.Platform.Spectrum
The ZX Spectrum sprite pack. Two colours a cell, drawn from the fifteen the Spectrum shows.
- Sprites.Platform.Spectrum.Name
- Sprites.Platform.Spectrum.Palette
- Sprites.Platform.Spectrum.Slots
- Sprites.Platform.Spectrum.Modes
- Sprites.Platform.Spectrum.DefaultWidth
- Sprites.Platform.Spectrum.DefaultHeight
Sprites.Platform.Spectrum.Name String
The machine's display name.
"ZX Spectrum"
Sprites.Platform.Spectrum.Palette Array
The machine's fixed colours, as hex strings, the set a slot may be recoloured from.
[
"#000000",
"#0000d7",
"#d70000",
"#d700d7",
"#00d700",
"#00d7d7",
"#d7d700",
"#d7d7d7",
"#0000ff",
"#ff0000",
"#ff00ff",
"#00ff00",
"#00ffff",
"#ffff00",
"#ffffff"
]
Sprites.Platform.Spectrum.Slots Array
The colours the editor starts on, one a slot.
[
"#000000",
"#d7d7d7"
]
Sprites.Platform.Spectrum.Modes Array
The sprite modes, in the order the Info window lists them. Each sets a colour count, a pixel aspect and a size rule.
| Name | Colours | Pixel aspect | Size |
|---|---|---|---|
| Standard | 2 | 1 | widths 8, 16, 24, 32; heights 8, 16, 24, 32 |
[
{ "name": "Standard", "colours": 2, "pixelAspect": 1, "allowedWidths": [8, 16, 24, 32], "allowedHeights": [8, 16, 24, 32] }
]
Sprites.Platform.Spectrum.DefaultWidth Number
The width the editor opens on.
16
Sprites.Platform.Spectrum.DefaultHeight Number
The height the editor opens on.
16