towerdef/public/assets/music
2026-10-09 19:49:37 +00:00
..
battle.mp3 Upload files to "public/assets/music" 2026-10-09 19:48:56 +00:00
boss.mp3 Upload files to "public/assets/music" 2026-10-09 19:48:56 +00:00
lose.mp3 Upload files to "public/assets/music" 2026-10-09 19:34:29 +00:00
menu.mp3 Upload files to "public/assets/music" 2026-10-09 19:49:37 +00:00
README.md Add Netwall solo client, shared simulation core and protocol spec 2026-10-09 19:14:35 +00:00
tracks.json Add Netwall solo client, shared simulation core and protocol spec 2026-10-09 19:14:35 +00:00
win.mp3 Upload files to "public/assets/music" 2026-10-09 19:34:29 +00:00

Music

Netwall plays a built-in synth melody. To use your own tracks (for example from Suno), put the files in this folder and name them in tracks.json:

{ "theme": "menu.mp3", "battle": "battle.mp3", "boss": "boss.mp3", "win": "win.mp3", "lose": "lose.mp3" }
  • theme: main menu. battle: in game (loops). boss: plays while a Rootkit boss is on the board (loops).
  • win / lose: short one-shot stingers on the end screens.
  • Formats: mp3, ogg, m4a or wav. Anything left null keeps the synth version.
  • Loops are played with the browser's loop flag, so crop the track to a whole number of bars for a clean seam.
  • Keep files small (a few MB) so phones start playing quickly.

Suno prompts

Style: instrumental, cyberpunk synthwave, dark ambient electronica, driving arpeggiated synth, pulsing sub bass, 110 bpm, A minor, tense but hypnotic, digital glitch percussion, retro sci-fi, seamless loop, no vocals

Exclude: vocals, rap, acoustic guitar, orchestral, fade out, long intro, spoken word

Lyrics box: [Instrumental]

Track Style tweak
theme slow 80 bpm, atmospheric pads, minimal, curious, wide reverb
battle the prompt above, plus [Loop-friendly: steady energy, no big breakdown]
boss 140 bpm, aggressive, distorted bass, heavy industrial, urgent, pounding kick
win short victory fanfare, 8 seconds
lose short descending glitch, system failure, 6 seconds

Words that fit the game: data stream, packet traffic, firewall, mainframe, server room, neon grid, circuit board, binary, handshake, encrypted, modem blips, bitcrushed snares, FM bells, filtered saw lead, sidechained pads.