Proyek
Lihat di GitHub
vleue/bevy_embedded_assets
Tentang
Embed assets in your Bevy game
Gim dan emulasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliBevy Embedded Assets
Embed your asset folder inside your binary for easier releases.
use bevy::prelude::*;
use bevy_embedded_assets::EmbeddedAssetPlugin;
fn main() {
App::new().add_plugins((EmbeddedAssetPlugin::default(), DefaultPlugins));
}
EmbeddedAssetPlugin has three modes:
PluginMode::AutoLoadwill embed the asset folder and make it available through theembedded://sourcePluginMode::ReplaceDefaultwill embed the asset folder and make it available through the default sourcePluginMode::ReplaceAndFallbackwill embed the asset folder and make it available through the default source. If a fail is not found at runtime, it fallback to the default source for the current platform
Bevy Compatibility
| Bevy | bevy_embedded_assets |
|---|---|
| main | main |
| 0.20 | 0.17 |
| 0.19 | 0.16 |
| 0.18 | 0.15 |
| 0.17 | 0.14 |
| 0.16 | 0.13 |
| 0.15 | 0.12 |
| 0.14 | 0.11 |
| 0.13 | 0.10 |
| 0.12 | 0.9 |
| 0.11 | 0.8 |
| 0.10 | 0.7 |
| 0.9 | 0.6 |
| 0.8 | 0.4 |
| 0.7 | 0.3 |
| 0.6 | 0.2 |
| 0.5 | 0.1 |
Jelajahi proyek terkait
Memuat…