Art, sound and music¶
Drop files in these folders. No MOD CODE needed.
| Folder | File | Becomes |
|---|---|---|
sprites/ |
cab.png |
New sprite taxi.cab, usable as "sprite": "taxi.cab" |
sprites/ |
police_patrol.png |
Replacement for the game sprite of that name (same size) |
sfx/ |
clank.wav |
New sound scrapyard.clank for game.sound |
sfx/ |
AirbrakesHiss.wav |
Replacement for the game sound of that name |
music/ |
drive.ogg |
Soundtrack track, listed in music.json |
Sprites¶
- New sprites are at most 256×256. They are packed into the atlas at startup.
- Game sprite names and sizes are in
game/data/sprite_atlas.json. Itswidthandheightare the PNG's size. A sprite with"scale": 2is chunky art stored at half resolution and drawn twice as large (the UFO is a 24×24 PNG that covers 48×48), so its replacement is the same half-size PNG. - Mod sprites light like the game's at night. No night mask needed.
Cars¶
A car needs three sprites: the body, a _paint mask that takes the chosen
paint, and an _invulnerable frame (cab.png, cab_paint.png,
cab_invulnerable.png). See the taxi example.
A replacement sprite brings its masks: the game rebuilds _paint,
_invulnerable and _mask from your file, so a reskinned car still takes
paint. Ship a mask file to draw it by hand.
Music¶
{"id": "mixtape_awake", "enabled": false} drops a game track. Drop them all
for a radio pack.
Examples: taxi, green_cruisers.