Skip to content

🚚 refactor(game): migrate audio and video assets from Supabase to local - #466

Draft
monkishtypist wants to merge 1 commit into
mainfrom
feat/local-assets
Draft

🚚 refactor(game): migrate audio and video assets from Supabase to local#466
monkishtypist wants to merge 1 commit into
mainfrom
feat/local-assets

Conversation

@monkishtypist

Copy link
Copy Markdown
Contributor

Summary

  • Migrate audio (MP3) and video (WebM) assets from Supabase storage to local public/assets/ folder
  • Update configuration files to use import.meta.env.BASE_URL for proper path resolution in production builds
  • Eliminates runtime fetching from Supabase, serving assets directly from the deployed bundle

Files Changed

  • apps/game/src/config/audio-config.ts - Updated audio base path
  • apps/game/src/config/special-effect-animations.ts - Updated video base path for special effects
  • apps/game/src/utils/character-animations.ts - Updated video paths for VS/DataWar/Winner animations
  • apps/game/public/assets/audio/ - 25 MP3 audio files
  • apps/game/public/assets/video/ - 164 WebM/MOV video files

Test plan

  • Verify title music plays on welcome screen
  • Verify SFX play during gameplay (card flips, button clicks, etc.)
  • Verify VS animation plays when starting a game
  • Verify Data War animation plays during ties
  • Verify Winner animation plays at game end
  • Verify special effect animations work (Launch Stack, Forced Empathy, etc.)
  • Test on Netlify preview deployment

Move audio (MP3) and video (WebM) assets to public/assets/ folder
for direct serving, eliminating runtime fetching from Supabase storage.
@netlify

netlify Bot commented Dec 16, 2025

Copy link
Copy Markdown

Deploy Preview for build-a-b ready!

Name Link
🔨 Latest commit 8cb90ba
🔍 Latest deploy log https://app.netlify.com/projects/build-a-b/deploys/6940ba3021c41f2a22702889
😎 Deploy Preview https://deploy-preview-466--build-a-b.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 28 (🔴 down 7 from production)
Accessibility: 96 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant