You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
683 B
Markdown

# Assets
## Custom Assets
### `.entity` files
Files ending in `.entity` store entity information.
Note: This data is not auto-magically de/serialized by Bevy, we write our own parser using `nom`.
This custom reading/writing can be found in `src/save.rs`.
All `.entity` files list one component per line.
Components include:
* `name <string>` Human readable name for entity
* `uuid <UUID string>` Globally unique ID for entity
* `transform translation <f32> <f32> <f32> rotation <f32> <f32> <f32> <f32> scale <f32> <f32> <f32>` 3D Location, Rotation, and Scale for entity
* `model "<path string>" "<string>"` Declares the entity's 3d model
* `camera` Marks the entity as a camera