Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethereumdegen/bevy_regions
Paint regions for your maps
https://github.com/ethereumdegen/bevy_regions
Last synced: 21 days ago
JSON representation
Paint regions for your maps
- Host: GitHub
- URL: https://github.com/ethereumdegen/bevy_regions
- Owner: ethereumdegen
- License: mit
- Created: 2024-05-08T21:47:16.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-15T03:33:20.000Z (4 months ago)
- Last Synced: 2024-10-11T06:24:33.923Z (about 1 month ago)
- Language: Rust
- Size: 168 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Bevy Regions
### Installing
```
cargo add bevy_regions
```
### Bevy Versions
Regions 0.13.x -> Bevy 0.13.x
### Run example
```
cargo run --example basic
```
### DescriptionA very bevy-centric region painting plugin that takes advantage of entities, components and systems as much as possible to be as easy to understand and interact with as possible.
An example of it being used in the bevy_mesh_terrain_editor to allow the editor to paint regions
![image](https://github.com/ethereumdegen/bevy_regions/assets/6249263/00192676-9010-4727-9cca-6ee2bbb55c96)## Texture Types
*Region Map Texture*
The source of region index ! This uses a U8 texture which signifies the region index at any particular position.
### Reference Shader Material
see https://github.com/bevyengine/bevy/blob/main/examples/shader/shader_material.rs### Editor (WIP)
https://github.com/ethereumdegen/bevy_mesh_terrain_editor