Crates.io | bevy_tiled_blueprints |
lib.rs | bevy_tiled_blueprints |
version | 0.1.0 |
source | src |
created_at | 2024-02-12 22:40:39.007135 |
updated_at | 2024-02-12 22:40:39.007135 |
description | Allows reading tiled maps with properties |
homepage | https://github.com/Leinnan/bevy_tiled_blueprints |
repository | https://github.com/Leinnan/bevy_tiled_blueprints |
max_upload_size | |
id | 1137383 |
size | 185,303 |
Ability to read properties from Tiled maps objects straight into Bevy Engine.
cargo add bevy_tiled_blueprints --git "https://github.com/Leinnan/bevy_tiled_blueprints"
Tiled | Bevy |
---|---|
Object | Entity |
object.name | Name component |
Custom property | Component |
Custom property name | Component struct name |
Custom property value | Component serialized in ron format |
Supported custom property values:
remove:
like remove:{NameOfComponent}
for removing components.Custom properties added to the layer or the map itself would be added in the same way to the corresponding entities.
Debug rendering of Objects placement can be enabled by adding TiledBlueprintsDebugDisplayPlugin
plugin to the application.
There is example in examples/simple.rs
.
x
and y
pos and turns that into Tranform
componentsbevy_rapier
for exampleBig thanks to the authors of bevy_ecs_tilemap, this whole thing is based on expanding the tiled example from there. Same thanks to the authors of Blender_bevy_components_workflow.
Web example has issues with rendering but if you look into console you can see it works.
Got some idea, feedback, question or found any bug? Feel free to open an issue at any time!