Play recorded songs in Light Trails and add lives and power-ups

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-04 13:12:56 -08:00
1 parent cc97161a23
commit cc02631ab5
21 files changed
+1094 -786

No files matched your search

+3 -1
View File
@@ -623,9 +623,11 @@ function onListening(port) {
try {
process.send?.({ type: "listening", port });
} catch {}
// Warm the asset cache while the browser is still on its way.
// Warm the asset cache while the browser is still on its way. Not with a
// game's songs: megabytes read for a game that may never be played.
setImmediate(() => {
for (const rel of SERVABLE) {
if (rel.startsWith("activities/") && rel.endsWith(".mp3")) continue;
try {
asset(rel);
} catch {}