Me trying to complete The 20 Games Challenge
cargo dev -p game_01_breakoutNote:
cargo devis an alias forcargo run --feature dev
Pre-requirement: Install bevy_cli.
bevy build -p breakout --release web --bundle
# Test locally
(sleep 5 && python3 -m webbrowser -t "http://localhost:8000") &
python3 -m http.server 8000 --directory target/bevy_web/web-release/breakout# Linux
ffmpeg -i input.mp3 -c:a libvorbis -q:a 4 output.ogg --enable-libvorbis
# macOS
brew install ffmpeg
# Example (macOS)
ffmpeg -i game_01_breakout/audio-source/music/game-music.mp3 -c:a vorbis -strict -2 -q:a 4 game_01_breakout/assets/music/game-music.ogg