more doc for "dev_mode" feature

This commit is contained in:
yuni 2024-04-26 14:42:44 +02:00
parent e2822fb64c
commit f6c5f631db

View file

@ -209,7 +209,10 @@ cargo [run|build] --features dev
This enables the following:
- Mutes music by default (you can still unmute it)
- Enables "dev mode", which changes the game slightly, e.g. enables some debugging features and additional cheats.
- Enables "dev mode", which changes the game slightly:
- Enables additional cheats (see source code)
- Speeds up dialogs
- Adds additional debugging features
- Enables dynamic linking for faster compile times. Note that this makes it harder to run the game directly with `./outfly`, please use `cargo run` instead.
- Enables bevy's "file watcher" feature that auto-reloads changed assets while the game is running. This obviously works only if the assets are not embedded directly into the binary with the `embed_assets` feature. Since `embed_assets` is enabled by default, you must customize your compile features in order to use the file watcher feature, e.g. like: `--no-default-features --features "dev x11"`