Game Off 2023 submission.
Follow Bevy's setup instructions here.
# Running the Development Build
cargo run# Running the Release Build
cargo run --releaseInstall Bevy CLI:
cargo install --git https://github.com/TheBevyFlock/bevy_cli --branch main --rev 0a4df19a729dbbb83774c4ddacf21770bafceb21 --locked bevy_cli# Run Development Web Build in Browser
bevy run web --open# Run Release Web Build in Browser
bevy run --release web --open# Build for Release (artifacts will be in `target/bevy_web`)
bevy build --release web --bundleCreate a Release on GitHub. This will trigger the publish.yml workflow which will build the game with the release configuration and push it to Itch.io using Butler.
-
Use the following command to generate a web production build that works on Itch.io:
bevy build --release web --bundle
-
Go to the generated
target/bevy_web/web-release/dragonskaledirectory and create a .zip file with all files. Name itdragonskale.zip. You should see the following files/directories inside:assets/ build/ index.html -
Go to the "Edit Game" page on Itch.io and click "Upload File". Make sure you are replacing the file
dragonskale.zipwhich is thewebbuild. -
Check the "This file will be played in the browser" checkbox (or make sure it's checked).
-
Hit "Save" and try the game.