Skip to content

About

Learning Rust and Bevy by doing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

106 Commits

Folders and files

Repository files navigation

Twenty Games Challenge

Me trying to complete The 20 Games Challenge

Try it out :)

Catalog

Game #1 - Breakout

Start a game in debug mode (with dynamic linking on)

cargo dev -p game_01_breakout

Note: cargo dev is an alias for cargo run --feature dev

How to

Build for web

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

Convert MP3 to OGG

# 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

About

Learning Rust and Bevy by doing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages