227 lines
33 KiB
Markdown
227 lines
33 KiB
Markdown
# Asset licenses
|
||
|
||
Every file under `web/public/assets/` comes from a source whose license allows free commercial use in a
|
||
game without attribution: **CC0 1.0 / public domain** for all art, audio and 3D, and the **SIL Open Font
|
||
License 1.1** for the three fonts (two Chinese faces, sliced for the web, and Barlow Condensed for numbers). Credits below are a courtesy (CC0 does not require them).
|
||
Totals: 143 files (141 CC0, 2 OFL), after unused files were removed on 2026-10-28; on 2026-10-30 the two font files became slice folders and Barlow Condensed was added (see "Web optimization").
|
||
Collected 2026-10-25/26; each license was checked on the source page before download.
|
||
|
||
Original license texts are in `licenses/` (one per Kenney pack, plus CC0 legal code, Poly Haven,
|
||
ambientCG and Open Peeps statements, and both OFL files).
|
||
|
||
## Notes and modifications
|
||
|
||
- **Fonts (OFL 1.1).** Since 2026-10-30 both Chinese faces ship as unicode-range slices (`fonts/ui/`,
|
||
`fonts/rounded/`, see "Web optimization" below), which are *Modified Versions* under OFL: they are renamed
|
||
**Tongsuan UI Regular** (from jf open huninn 2.1) and **Tongsuan Rounded Heavy** (from GenSenRounded2 TW H) and
|
||
do not use the Reserved Font Names "open huninn", "huninn", "Varela", "Varela Round" or "Source" as font names;
|
||
copyright, designer and license fields are kept. The unmodified sources are in `art/fonts/`.
|
||
Fonts may be bundled with the game but not sold on their own.
|
||
jf open huninn's license notes its Hanzi derive from Kosugi Maru (Apache-2.0); keep
|
||
`licenses/jf-openhuninn-OFL.txt` with the font.
|
||
- **Trimmed or converted audio.** Files marked "trimmed" or "converted" were cut/faded/re-encoded with
|
||
ffmpeg. `sfx/drumroll.mp3`, `sfx/firecrackers.mp3` and `sfx/channel-switch.mp3` were assembled
|
||
from the CC0 one-shots named in their rows (derivative works of CC0 material).
|
||
- **Textures** were re-encoded as 1024 px JPEG; the three table/frame wood textures (tiled 4–9 times) as 512 px.
|
||
- **3D models** are Kenney GLBs optimized with glTF-Transform (`art/optimize-3d.mjs`): unused animation clips
|
||
and vertex attributes removed, geometry quantized and meshopt-compressed (EXT_meshopt_compression); shapes,
|
||
materials and textures are unchanged. Each folder keeps that kit's `Textures/colormap.png`, which
|
||
the GLBs load by relative path, so move each folder as a whole.
|
||
- No asset depicts a real person, politician, party logo, national flag or brand logo.
|
||
- **Minigame art (no files).** The illustrations for the three campaign minigames and their lobby
|
||
(`web/src/game/minigames/art.tsx`, plus the CSS-drawn crowd, stage and street grid) are original
|
||
inline SVG/CSS made for this project — no photos, no generated people. Their sounds reuse the CC0
|
||
files listed below (`timer-tick`, `gong-bright`, `bell-ding`, `jingle-steel-up`, `jingle-tuba-sad`,
|
||
`buzz-short`, `chime-positive-*`, `coins-small`, `crowd-rally`, `applause`) or are synthesized with Web Audio
|
||
(drums, countdown beeps, camera shutter).
|
||
|
||
## Files
|
||
|
||
| file | what it is | source page URL | author | license |
|
||
|---|---|---|---|---|
|
||
| `fonts/rounded/*.woff2` | Tongsuan Rounded Heavy: 源泉圓體 2 TW Heavy, very bold rounded display face for headlines — subset (game text, place and people names, Big5 level-1) and split into unicode-range slices, renamed (source: `art/fonts/gensen-rounded2-tw-heavy.woff2`) | https://github.com/ButTaiwan/gensen-font (GenSenRounded2 TW, otf/TW) | ButTaiwan (GenSen Rounded 2) | SIL Open Font License 1.1 (`licenses/gensen-rounded-OFL.txt`) |
|
||
| `fonts/ui/*.woff2` | Tongsuan UI Regular: jf open 粉圓 (Huninn) v2.1, round, friendly Traditional Chinese + Latin — all glyphs, split into unicode-range slices, renamed (source: `art/fonts/jf-openhuninn-2.1.woff2`) | https://github.com/justfont/open-huninn-font (release v2.1) | justfont (jf open huninn) | SIL Open Font License 1.1 (`licenses/jf-openhuninn-OFL.txt`) |
|
||
| `fonts/barlow/barlow-condensed-{500,700,800}.woff2` | Barlow Condensed (Latin subset as served by Google Fonts) — numbers and small Latin labels | https://github.com/jpt/barlow | Jeremy Tribby (The Barlow Project Authors) | SIL Open Font License 1.1 (`licenses/barlow-OFL.txt`) |
|
||
| `music/election-night-tension.ogg` | tense orchestral piece - timpani, snares, brass, strings (110 s) | https://opengameart.org/content/courtroom-and-judgement | Spring Spring | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `music/news-bed.ogg` | 17 s arpeggio/pad cue - works as news-desk bed | https://opengameart.org/content/17-second-sequence | Spring Spring | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `music/news-intro.mp3` | 12 s epic orchestral intro sting - parody TV news opener — converted from WAV | https://opengameart.org/content/production-theme-intro-epic-orchestra | nene | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `music/party-disco-loop.ogg` | funky disco party loop - bass, sax, brass (133 s) | https://opengameart.org/content/funky-disco-beats-to-boogiewoogie-to | Fupi | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `music/planning-loop.ogg` | relaxed brass + flute puzzle-game loop, 95 bpm (61 s) | https://opengameart.org/content/cozy-puzzle-title | MintoDog | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `music/theme-march.ogg` | upbeat cartoon march - trombone, snare, flute; seamless loop (64 s) | https://opengameart.org/content/childrens-march-theme | CleytonKauffman | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `music/victory-triumphant.mp3` | short celebratory strings + horns theme (27 s) — re-encoded 160 kbps | https://opengameart.org/content/triumphant | Emma_MA | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/applause.mp3` | big-hall crowd applause (8 s) — trimmed 1-9 s with fades | https://opengameart.org/content/applause-in-a-large-hall-or-church | eXpl0it3r | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/bell-ding.ogg` | small bell ding | https://opengameart.org/content/100-cc0-sfx | rubberduck | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/buzz-negative.ogg` | low error buzz | https://kenney.nl/assets/interface-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-interface-sounds.txt`) |
|
||
| `sfx/buzz-short.ogg` | very short error blip | https://kenney.nl/assets/interface-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-interface-sounds.txt`) |
|
||
| `sfx/card-deal-1.ogg` | card sliding across the table | https://kenney.nl/assets/casino-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-casino-audio.txt`) |
|
||
| `sfx/card-deal-2.ogg` | card slide, brighter variant | https://kenney.nl/assets/casino-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-casino-audio.txt`) |
|
||
| `sfx/card-flip.ogg` | short bright card snap (use for flip/reveal) | https://kenney.nl/assets/casino-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-casino-audio.txt`) |
|
||
| `sfx/card-place.ogg` | card set down on table | https://kenney.nl/assets/casino-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-casino-audio.txt`) |
|
||
| `sfx/card-shuffle.ogg` | deck riffle shuffle (3 s) | https://kenney.nl/assets/casino-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-casino-audio.txt`) |
|
||
| `sfx/channel-switch.mp3` | TV channel switch: digital glitch click + short static — derived: interface-sounds glitch_001 + 0.35 s of 'Static' | https://kenney.nl/assets/interface-sounds + https://opengameart.org/content/static | Kenney (kenney.nl) + xhunterko | CC0 1.0 (`licenses/kenney-interface-sounds.txt, licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/chime-positive-1.ogg` | bright positive confirm chime | https://kenney.nl/assets/interface-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-interface-sounds.txt`) |
|
||
| `sfx/chime-positive-2.ogg` | warmer positive confirm chime | https://kenney.nl/assets/interface-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-interface-sounds.txt`) |
|
||
| `sfx/coins-small.ogg` | few coins clink | https://kenney.nl/assets/rpg-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-rpg-audio.txt`) |
|
||
| `sfx/coins.ogg` | handful of coins jingling | https://kenney.nl/assets/rpg-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-rpg-audio.txt`) |
|
||
| `sfx/crowd-cheer-fireworks.mp3` | happy crowd cheering + applause with fireworks (10 s) — trimmed 10-20 s with fades | https://opengameart.org/content/fireworks-with-applause-happy-people | Almitory | CC0 1.0 (page offers CC0 among several licenses; CC0 chosen) (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/crowd-ooh.ogg` | group 'ooooh' (teasing / scandal reaction) | https://opengameart.org/content/oooooooooooooo | Nocturnal_Vanguard (AuraVoice) | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/crowd-rally.mp3` | rowdy crowd shouting ambience (rally/protest, 10 s) — trimmed 2-12 s with fades | https://opengameart.org/content/crowd-shoutingspeaking-ambience | StarNinjas | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/dice-roll-1.ogg` | dice thrown and tumbling on table | https://kenney.nl/assets/casino-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-casino-audio.txt`) |
|
||
| `sfx/dice-roll-2.ogg` | dice throw, shorter variant | https://kenney.nl/assets/casino-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-casino-audio.txt`) |
|
||
| `sfx/drumroll.mp3` | snare roll building up to a final hit (3 s) - for result reveals — derived: assembled from the single CC0 snare sample (repeated, accelerating, crescendo) | https://opengameart.org/content/an-interesting-snare-drum-sound | Spring Spring | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/firecrackers.mp3` | string of firecrackers popping (鞭炮, 4 s) — derived: random rapid sequence of the pack's CC0 bang_01-10 one-shots | https://opengameart.org/content/25-cc0-bang-firework-sfx | rubberduck | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/gong-bright.ogg` | brighter gong hit | https://opengameart.org/content/100-cc0-sfx | rubberduck | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/gong.ogg` | deeper gong hit | https://opengameart.org/content/100-cc0-sfx | rubberduck | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/jingle-steel-up.ogg` | rising steel-drum jingle (festive win) | https://kenney.nl/assets/music-jingles | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-music-jingles.txt`) |
|
||
| `sfx/jingle-tuba-sad.ogg` | comic sad 'wah-wah' tuba (4 s) | https://opengameart.org/content/happy-and-sad-tuba-fanfare | Trex0n | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/news-three-tone.ogg` | three-tone electronic chime (news bulletin ding) | https://kenney.nl/assets/digital-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-digital-audio.txt`) |
|
||
| `sfx/paper-crumple.mp3` | paper crumpled into a ball | https://opengameart.org/content/various-paper-sound-effects | Luckius | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/paper-rip.mp3` | paper tear | https://opengameart.org/content/various-paper-sound-effects | Luckius | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/paper-rustle-1.mp3` | quick paper rustle (flyer handed out) | https://opengameart.org/content/various-paper-sound-effects | Luckius | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/paper-rustle-2.mp3` | longer paper handling rustle (2.6 s) | https://opengameart.org/content/various-paper-sound-effects | Luckius | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/piece-hop-1.ogg` | light wooden tap (pawn hopping a space) | https://kenney.nl/assets/impact-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-impact-sounds.txt`) |
|
||
| `sfx/piece-hop-2.ogg` | light wooden tap variant | https://kenney.nl/assets/impact-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-impact-sounds.txt`) |
|
||
| `sfx/stamp-thump.ogg` | heavy muffled thump (rubber stamp hit) | https://kenney.nl/assets/impact-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-impact-sounds.txt`) |
|
||
| `sfx/timer-tick.ogg` | tiny clock tick | https://kenney.nl/assets/interface-sounds | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-interface-sounds.txt`) |
|
||
| `sfx/tv-static-loop.mp3` | 4 s steady static bed (loop) — trimmed 5-9 s | https://opengameart.org/content/static | xhunterko | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/tv-static.mp3` | 1 s burst of TV/radio static — trimmed 2-3 s | https://opengameart.org/content/static | xhunterko | CC0 1.0 (`licenses/cc0-1.0-legalcode.txt`) |
|
||
| `sfx/ui-click.ogg` | crisp short button click | https://kenney.nl/assets/ui-audio | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-ui-audio.txt`) |
|
||
| `textures/cardboard-diff.jpg` | clean brown corrugated cardboard, seamless (albedo) — re-encoded JPEG 1024px | https://ambientcg.com/view?id=Cardboard004 | ambientCG (Lennart Demes) | CC0 1.0 (`licenses/ambientcg-cc0.txt`) |
|
||
| `textures/wood-oak-light-diff.jpg` | light honey oak veneer, seamless (albedo) - brighter table option — re-encoded JPEG 1024px | https://polyhaven.com/a/oak_veneer_01 | Jenelle van Heerden (Poly Haven) | CC0 1.0 (`licenses/polyhaven-cc0.txt`) |
|
||
| `textures/wood-table-diff.jpg` | varnished reddish-brown wooden table top, seamless (albedo) — re-encoded JPEG 1024px | https://polyhaven.com/a/wood_table_001 | Dimitrios Savva, Rico Cilliers (Poly Haven) | CC0 1.0 (`licenses/polyhaven-cc0.txt`) |
|
||
| `textures/wood-table-normal.jpg` | normal map (OpenGL) for wood-table — re-encoded JPEG 1024px | https://polyhaven.com/a/wood_table_001 | Dimitrios Savva, Rico Cilliers (Poly Haven) | CC0 1.0 (`licenses/polyhaven-cc0.txt`) |
|
||
| `3d/characters/Textures/colormap.png` | shared palette texture the characters GLBs load via relative path | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-female-a.glb` | low-poly model: character female a | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-female-b.glb` | low-poly model: character female b | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-female-c.glb` | low-poly model: character female c | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-female-d.glb` | low-poly model: character female d | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-female-e.glb` | low-poly model: character female e | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-female-f.glb` | low-poly model: character female f | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-male-a.glb` | low-poly model: character male a | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-male-b.glb` | low-poly model: character male b | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-male-c.glb` | low-poly model: character male c | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-male-d.glb` | low-poly model: character male d | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-male-e.glb` | low-poly model: character male e | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/characters/character-male-f.glb` | low-poly model: character male f | https://kenney.nl/assets/mini-characters | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-mini-characters.txt`) |
|
||
| `3d/festive/Textures/colormap.png` | shared palette texture the festive GLBs load via relative path | https://kenney.nl/assets/holiday-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-holiday-kit.txt`) |
|
||
| `3d/festive/lights-colored.glb` | low-poly model: lights colored | https://kenney.nl/assets/holiday-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-holiday-kit.txt`) |
|
||
| `3d/festive/present-b-round.glb` | low-poly model: present b round | https://kenney.nl/assets/holiday-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-holiday-kit.txt`) |
|
||
| `3d/food/Textures/colormap.png` | shared palette texture the food GLBs load via relative path | https://kenney.nl/assets/food-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-food-kit.txt`) |
|
||
| `3d/food/pineapple.glb` | low-poly model: pineapple | https://kenney.nl/assets/food-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-food-kit.txt`) |
|
||
| `3d/food/steamer.glb` | low-poly model: steamer | https://kenney.nl/assets/food-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-food-kit.txt`) |
|
||
| `3d/nature/flower-red-a.glb` | low-poly model: flower red a (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/nature/flower-yellow-a.glb` | low-poly model: flower yellow a (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/nature/plant-bush-large.glb` | low-poly model: plant bush large (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/nature/rock-small-a.glb` | low-poly model: rock small a (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/nature/tree-default.glb` | low-poly model: tree default (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/nature/tree-oak.glb` | low-poly model: tree oak (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/nature/tree-palm-short.glb` | low-poly model: tree palm short (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/nature/tree-palm-tall.glb` | low-poly model: tree palm tall (vertex/material colours, no texture) | https://kenney.nl/assets/nature-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-nature-kit.txt`) |
|
||
| `3d/props/Textures/colormap.png` | shared palette texture the props GLBs load via relative path | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/arrow.glb` | low-poly model: arrow | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/chest.glb` | low-poly model: chest | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/coin-gold.glb` | low-poly model: coin gold | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/crate.glb` | low-poly model: crate | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/flag.glb` | low-poly model: flag | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/flowers.glb` | low-poly model: flowers | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/heart.glb` | low-poly model: heart | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/sign.glb` | low-poly model: sign | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/star.glb` | low-poly model: star | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/props/tree.glb` | low-poly model: tree | https://kenney.nl/assets/platformer-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-platformer-kit.txt`) |
|
||
| `3d/town-houses/Textures/colormap.png` | shared palette texture the town-houses GLBs load via relative path | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/Textures/variation-b.png` | shared palette texture the town-houses GLBs load via relative path | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/building-type-a.glb` | low-poly model: building type a | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/building-type-b.glb` | low-poly model: building type b | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/building-type-c.glb` | low-poly model: building type c | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/building-type-f.glb` | low-poly model: building type f | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/building-type-h.glb` | low-poly model: building type h | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/building-type-k.glb` | low-poly model: building type k | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/fence-1x2.glb` | low-poly model: fence 1x2 | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/planter.glb` | low-poly model: planter | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-houses/tree-small.glb` | low-poly model: tree small | https://kenney.nl/assets/city-kit-suburban | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-suburban.txt`) |
|
||
| `3d/town-shops/Textures/colormap.png` | shared palette texture the town-shops GLBs load via relative path | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/town-shops/building-a.glb` | low-poly model: building a | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/town-shops/building-c.glb` | low-poly model: building c | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/town-shops/building-e.glb` | low-poly model: building e | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/town-shops/building-h.glb` | low-poly model: building h | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/town-shops/building-k.glb` | low-poly model: building k | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/town-shops/building-skyscraper-a.glb` | low-poly model: building skyscraper a | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/town-shops/detail-parasol-a.glb` | low-poly model: detail parasol a | https://kenney.nl/assets/city-kit-commercial | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-city-kit-commercial.txt`) |
|
||
| `3d/vehicles/Textures/colormap.png` | shared palette texture the vehicles GLBs load via relative path | https://kenney.nl/assets/car-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-car-kit.txt`) |
|
||
| `3d/vehicles/box.glb` | low-poly model: box | https://kenney.nl/assets/car-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-car-kit.txt`) |
|
||
| `3d/vehicles/sedan.glb` | low-poly model: sedan | https://kenney.nl/assets/car-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-car-kit.txt`) |
|
||
| `3d/vehicles/taxi.glb` | low-poly model: taxi | https://kenney.nl/assets/car-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-car-kit.txt`) |
|
||
| `3d/vehicles/truck.glb` | low-poly model: truck | https://kenney.nl/assets/car-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-car-kit.txt`) |
|
||
| `3d/vehicles/van.glb` | low-poly model: van | https://kenney.nl/assets/car-kit | Kenney (kenney.nl) | CC0 1.0 (`licenses/kenney-car-kit.txt`) |
|
||
|
||
## Format copies (added 2026-10-26)
|
||
|
||
Every `.ogg` file in `sfx/` and `music/` also has an `.mp3` copy with the same name, re-encoded with ffmpeg
|
||
(libmp3lame, 96 kbps for effects, 112 kbps for music) so Safari can play it. Each copy carries the same
|
||
license and source as the `.ogg` row above.
|
||
|
||
## Web optimization (added 2026-10-30, docs/27)
|
||
|
||
To cut first-load size (home page 8.7 MB → 1.6 MB), files were re-encoded or restructured; none of the licenses change:
|
||
|
||
- **Fonts:** `art/fonts/split-webfonts.py` subsets and splits both Chinese faces into ~200-glyph unicode-range
|
||
slices ordered by how often the game shows each character, and writes `web/src/theme/fonts.generated.css`.
|
||
The home page downloads 2 slices of each (about 140 KB) instead of 3.4 MB. Barlow Condensed is self-hosted
|
||
instead of loading Google Fonts; Noto Serif TC is still loaded from Google Fonts, only on the term minigame.
|
||
- **Music:** the five looping `.ogg` tracks were re-encoded from Vorbis (150–320 kbps) to Opus 96 kbps
|
||
(`art/music-opus.sh`; sample-exact length so the loops stay seamless). The `.mp3` copies are unchanged.
|
||
- **Card art thumbnails:** `web/public/cards/sm/*.webp` are 320 px copies of the card illustrations
|
||
(`art/cards-small.sh`), used in the hand; the 640 px originals stay for large views.
|
||
- **3D models and textures:** see the notes above.
|
||
|
||
## Font subset (added 2026-10-26, superseded 2026-10-30 by the slices above)
|
||
|
||
`fonts/gensen-rounded2-tw-heavy.woff2` was moved out of the published folder (source copy kept at
|
||
`art/fonts/`). The game ships `fonts/tongsuan-rounded-heavy.woff2` instead: a subset (5,899 glyphs: every
|
||
character used by the game's code, scenario and place names, temple names, plus Big5 level-1 common
|
||
characters and punctuation) made with fontTools `pyftsubset`. Because a subset is a Modified Version under
|
||
the SIL OFL 1.1, it is renamed **Tongsuan Rounded Heavy** (it does not use the Reserved Font Name "Source"
|
||
or the original "GenSenRounded2" name). It remains under the SIL OFL 1.1 (`licenses/gensen-rounded-OFL.txt`).
|
||
Original: GenSenRounded2 TW H by ButTaiwan, https://github.com/ButTaiwan/gensen-font.
|
||
|
||
## Avatar parts (added 2026-10-27, docs/24)
|
||
|
||
The 27 avatar part drawings (hats, mask, vests, sashes, chest items, held items, frames) are **original vector art made
|
||
for this project** — hand-written SVG shapes, not traced from photos, not AI-generated, and not taken from any avatar
|
||
library (no Open Peeps / DiceBear / Avataaars material). They live outside `web/public/assets/` because a build step
|
||
(`pnpm avatar:build`) checks each SVG (no script, no external links, no text, nothing outside the 200×220 canvas)
|
||
and converts it to shape data in `backend/packages/protocol/src/avatar/art.generated.ts`. Lettering on the parts
|
||
(candidate number, name, 「必勝」, 「當選」…) is set at run time in the game's own fonts (OFL, listed above).
|
||
The four avatar styles (comic, chibi, retro pixel, sticker) are drawn by code from the same parts — no extra assets.
|
||
No part depicts a real person, party logo, national flag or brand logo.
|
||
|
||
| file | what it is | source | author | license |
|
||
|---|---|---|---|---|
|
||
| `backend/packages/protocol/art/avatar/hat/campaign-cap.svg` | 競選鴨舌帽(`hat-campaign-cap`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/hat/victory-band.svg` | 必勝頭帶(`hat-victory-band`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/hat/bamboo.svg` | 斗笠(`hat-bamboo`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/hat/helmet.svg` | 機車安全帽(`hat-helmet`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/hat/bucket.svg` | 漁夫帽(`hat-bucket`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/mask/plain.svg` | 素色口罩(`mask-plain`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/mask/number.svg` | 號次口罩(`mask-number`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/outer/campaign-vest.svg` | 競選背心(`outer-campaign-vest`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/outer/volunteer-vest.svg` | 志工背心(`outer-volunteer-vest`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/outer/hivis.svg` | 工地反光背心(`outer-hivis`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/outer/raincoat.svg` | 輕便雨衣(`outer-raincoat`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/sash/red.svg` | 候選人紅布條(`sash-red`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/sash/thanks.svg` | 感謝鄉親謝票帶(`sash-thanks`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/sash/gold.svg` | 金色當選帶(`sash-gold`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/chest/corsage.svg` | 當選紅胸花(`chest-corsage`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/chest/name-tag.svg` | 名牌(`chest-name-tag`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/held/megaphone.svg` | 大聲公(`held-megaphone`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/held/flag.svg` | 三角競選旗(`held-flag`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/held/tissue.svg` | 面紙包(`held-tissue`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/held/fan.svg` | 團扇(`held-fan`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/held/mic.svg` | 麥克風(`held-mic`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/held/thermos.svg` | 保溫杯(`held-thermos`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/frame/gazette.svg` | 選舉公報框(`frame-gazette`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/frame/billboard.svg` | 看板框(`frame-billboard`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/frame/newspaper.svg` | 報紙頭版框(`frame-newspaper`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/frame/gold.svg` | 金色當選框(`frame-gold`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|
||
| `backend/packages/protocol/art/avatar/frame/neon.svg` | 霓虹宣傳車框(`frame-neon`) | original, drawn by hand for this project | Election Town project | original — no third-party material |
|