Sprites.Platform.BBC
The BBC Micro sprite pack. Modes of two, four and sixteen colours, with byte-aligned widths.
- Sprites.Platform.BBC.Name
- Sprites.Platform.BBC.Palette
- Sprites.Platform.BBC.Slots
- Sprites.Platform.BBC.Modes
- Sprites.Platform.BBC.DefaultWidth
- Sprites.Platform.BBC.DefaultHeight
Sprites.Platform.BBC.Name String
The machine's display name.
"BBC Micro"
Sprites.Platform.BBC.Palette Array
The machine's fixed colours, as hex strings, the set a slot may be recoloured from.
[
"#000000",
"#ff0000",
"#00ff00",
"#ffff00",
"#0000ff",
"#ff00ff",
"#00ffff",
"#ffffff"
]
Sprites.Platform.BBC.Slots Array
The colours the editor starts on, one a slot.
[
"#000000",
"#ff0000",
"#00ff00",
"#ffff00",
"#0000ff",
"#ff00ff",
"#00ffff",
"#ffffff",
"#000000",
"#ff0000",
"#00ff00",
"#ffff00",
"#0000ff",
"#ff00ff",
"#00ffff",
"#ffffff"
]
Sprites.Platform.BBC.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 |
|---|---|---|---|
| Mode 0 | 2 | 0.5 | widths 8, 16, 24, 32, 40, 48, 56, 64; height typed to 64 |
| Mode 4 | 2 | 1 | widths 8, 16, 24, 32, 40, 48, 56, 64; height typed to 64 |
| Mode 1 | 4 | 1 | widths 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64; height typed to 64 |
| Mode 2 | 16 | 2 | widths 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64; height typed to 64 |
[
{ "name": "Mode 0", "colours": 2, "pixelAspect": 0.5, "allowedWidths": [8, 16, 24, 32, 40, 48, 56, 64], "maxHeight": 64 },
{ "name": "Mode 4", "colours": 2, "pixelAspect": 1, "allowedWidths": [8, 16, 24, 32, 40, 48, 56, 64], "maxHeight": 64 },
{ "name": "Mode 1", "colours": 4, "pixelAspect": 1, "allowedWidths": [4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64], "maxHeight": 64 },
{ "name": "Mode 2", "colours": 16, "pixelAspect": 2, "allowedWidths": [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64], "maxHeight": 64 }
]
Sprites.Platform.BBC.DefaultWidth Number
The width the editor opens on.
16
Sprites.Platform.BBC.DefaultHeight Number
The height the editor opens on.
16