Crates.io | bevy_ecs_ldtk |
lib.rs | bevy_ecs_ldtk |
version | 0.10.0 |
source | src |
created_at | 2022-01-16 06:19:34.447867 |
updated_at | 2024-07-20 16:38:48.768749 |
description | An ECS-friendly ldtk plugin for bevy. |
homepage | |
repository | https://github.com/Trouv/bevy_ecs_ldtk |
max_upload_size | |
id | 514650 |
size | 1,334,884 |
bevy_ecs_ldtk
bevy_ecs_ldtk
is an ECS-friendly LDtk plugin for Bevy.
It allows you to use LDtk projects as an asset, spawn levels, and insert bevy components/bundles on LDtk entities/tiles.
This plugin is ECS-friendly, partly for its internal usage of ECS that provides extra functionality to users, and partly for its usage of bevy_ecs_tilemap
for rendering tilemaps.
This is all behind an ergonomic API, providing low-boilerplate solutions to common use cases.
For less common use cases, strategies that leverage this plugin's ECS constructs are also available.
cargo run --example platformer --release
serde
types for LDtk based off LDtk's QuickType
loader, but with several QoL
improvementsDocumentation for this plugin is available in two main places.
bevy_ecs_ldtk
book In the book, the following chapters are good jumping-off points for beginners:
Cargo examples are also available in this repository:
$ cargo run --example example-name
bevy | bevy_ecs_tilemap | LDtk | bevy_ecs_ldtk |
---|---|---|---|
0.14 | 0.14 | 1.5.3 | 0.10 |
0.12 | 0.12 | 1.5.3 | 0.9 |
0.11 | 0.11 | 1.3.3 | 0.8 |
0.10 | 0.10 | 1.1 | 0.7 |
0.10 | 0.10 | 1.1 | 0.6 |
0.9 | 0.9 | 1.1 | 0.5 |
0.8 | 0.7 | 1.1 | 0.4 |
0.7 | 0.6 | 1.1 | 0.3 |
0.6 | 0.5 | 0.9 | 0.2 |
0.6 | 0.5 | 0.9 | 0.1 |