mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Play recorded songs in Light Trails and add lives and power-ups
AI Assisted
This commit is contained in:
1 parent
cc97161a23
commit
cc02631ab5
21 files changed
+1094
-786
No files matched your search
@@ -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 {}
|
||||
|
||||
Reference in new issue
Block a user