Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trubusoft/bevy-skeleton
Collection of useful docs to quickly start developing with bevy using RustRover on Ubuntu
https://github.com/trubusoft/bevy-skeleton
bevy rust rustrover ubuntu
Last synced: 4 days ago
JSON representation
Collection of useful docs to quickly start developing with bevy using RustRover on Ubuntu
- Host: GitHub
- URL: https://github.com/trubusoft/bevy-skeleton
- Owner: trubusoft
- License: apache-2.0
- Created: 2024-06-25T01:50:10.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T01:23:15.000Z (5 months ago)
- Last Synced: 2024-10-31T23:06:29.277Z (about 2 months ago)
- Topics: bevy, rust, rustrover, ubuntu
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
Collection of useful docs to quickly start developing with bevy using RustRover on Ubuntu.
# Setup
- Install dependencies
For ubuntu:
```
sudo apt update
sudo apt install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0
```> More on this: https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md
- Add bevy dependency to `Cargo.toml`
- Run `cargo build` and check if compilation succeed
- Enable Query support for RustRover
- `org.rust.cargo.evaluate.build.scripts`
- `org.rust.macros.proc`> More on this: https://bevy-cheatbook.github.io/setup/editor/jetbrains.html
- Enable Reformat Code & Optimize Import on Save
Open Setting > Tools > Action on Save and check `Reformat Code` and `Optimize Import`
- Enable dynamic linking for faster compile in development
- On Run configuration, append `--features bevy/dynamic_linking` inside the command
- On Settings > Rust > External Linters, add `--features bevy/dynamic_linking` on Additional arguments> More on this: https://bevyengine.org/learn/quick-start/getting-started/setup/#dynamic-linking
# Testing
See [test.rs](src/people/tests.rs) for examples.
> More on this: https://bevy-cheatbook.github.io/patterns/system-tests.html
# References
- [Bevy opinionated best practices](https://github.com/tbillington/bevy_best_practices)
- Bevy basic by [Jacques](https://www.youtube.com/playlist?list=PLVnntJRoP85JHGX7rGDu6LaF3fmDDbqyd)