apeltsi / loitsu

Cross-platform Game Engine written in Rust
MIT License
1 stars 0 forks source link

Asset Preferences #2

Closed apeltsi closed 1 year ago

apeltsi commented 1 year ago

The loitsu-cli should be able to perform different actions on the raw assets before they are packed into shards. As an initial implementation, a simple way for authored assets to be downsampled (see example below) would already be handy. Example This could be saved in a JSON file (such as assetprefs.json) in the root of the assets folder. This would eliminate the need for a separate file for every asset like Unity does, but does come with a few drawbacks.

apeltsi commented 1 year ago

A basic version of this has now been implemented on the shard-generation branch