Sprites.Platform.C64

The Commodore 64 sprite pack. Sixteen fixed colours, high-res and multicolour modes, each able to expand.

Sprites.Platform.C64

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.

NameColoursPixel aspectSize
High-res2124×21
High-res, X-expand2224×21
High-res, Y-expand20.524×21
Multicolour4212×21
Multicolour, X-expand4412×21
Multicolour, Y-expand4112×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