Sprites.Platform.C64
The Commodore 64 sprite pack. Sixteen fixed colours, high-res and multicolour modes, each able to expand.
- Sprites.Platform.C64.Name
- Sprites.Platform.C64.Palette
- Sprites.Platform.C64.Slots
- Sprites.Platform.C64.Modes
- Sprites.Platform.C64.DefaultWidth
- Sprites.Platform.C64.DefaultHeight
Sprites.Platform.C64.Name String
The machine's display name.
"Commodore 64"
Sprites.Platform.C64.Palette Array
The machine's fixed colours, as hex strings, the set a slot may be recoloured from.
[
"#000000",
"#ffffff",
"#813338",
"#75cec8",
"#8e3c97",
"#56ac4d",
"#2e2c9b",
"#edf171",
"#8e5029",
"#553800",
"#c46c71",
"#4a4a4a",
"#7b7b7b",
"#a9ff9f",
"#706deb",
"#b2b2b2"
]
Sprites.Platform.C64.Slots Array
The colours the editor starts on, one a slot.
[
"#000000",
"#ffffff",
"#813338",
"#75cec8"
]
Sprites.Platform.C64.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 |
|---|---|---|---|
| High-res | 2 | 1 | 24×21 |
| High-res, X-expand | 2 | 2 | 24×21 |
| High-res, Y-expand | 2 | 0.5 | 24×21 |
| Multicolour | 4 | 2 | 12×21 |
| Multicolour, X-expand | 4 | 4 | 12×21 |
| Multicolour, Y-expand | 4 | 1 | 12×21 |
[
{ "name": "High-res", "colours": 2, "pixelAspect": 1, "allowedSizes": [[24, 21]] },
{ "name": "High-res, X-expand", "colours": 2, "pixelAspect": 2, "allowedSizes": [[24, 21]] },
{ "name": "High-res, Y-expand", "colours": 2, "pixelAspect": 0.5, "allowedSizes": [[24, 21]] },
{ "name": "Multicolour", "colours": 4, "pixelAspect": 2, "allowedSizes": [[12, 21]] },
{ "name": "Multicolour, X-expand", "colours": 4, "pixelAspect": 4, "allowedSizes": [[12, 21]] },
{ "name": "Multicolour, Y-expand", "colours": 4, "pixelAspect": 1, "allowedSizes": [[12, 21]] }
]
Sprites.Platform.C64.DefaultWidth Number
The width the editor opens on.
24
Sprites.Platform.C64.DefaultHeight Number
The height the editor opens on.
21