Cargo Features

[dependencies]
bevy_entitiles = { version = "0.12.0", default-features = false, features = ["algorithm", "atlas", "baking", "debug", "ldtk", "multi-threaded", "physics", "serializing", "tiled"] }
default = multi-threaded

The multi-threaded feature is set by default whenever bevy_entitiles is added without default-features = false somewhere in the dependency tree.

algorithm = serializing

Enables futures-lite and rand

Affects drawing::draw_path, layer::path, layer::LdtkLayers.path_layer, resources::LdtkWfcManager, resources::LdtkAdditionalLayers.path_layer, bevy_entitiles::algorithm, load::load_path_layer, save::save_path_layer, pattern::TilemapPattern.path_tiles, buffers::PathTileBuffer, storage::PathTileChunkedStorage, tilemap::algorithm

atlas baking? tiled?

Affects buffer::GpuTilemapTextureDescriptor, buffer::UnsharedTilemapBuffers.texture_desc, chunk::MeshTileData.texture_indices, render::TILEMAP_MESH_ATTR_TEX_INDICES, texture::prepare_tilemap_textures, texture::queue_tilemap_textures, tile::TileLayer.texture_index, tile::RawTileAnimation.sequence

baking = atlas

Affects render::bake

debug

Enables bevy_gizmos of bevy ^0.14

bevy:

Adds support for rendering gizmos

Affects bevy_entitiles::debug

ldtk = serializing

Enables bevy_entitiles_derive and serde_json

Affects wfc::LdtkWfcMode, wfc::ldtk_wfc_helper, bevy_entitiles::ldtk

multi-threaded default

Enables multi_threaded of bevy ^0.14

bevy:

Enables multithreaded parallelism in the engine. Disabling it forces all engine tasks to run on a single thread.

Affects pathfinding::PathGrid.path_tilemap, pathfinding::pathfinding_scheduler, pathfinding::path_assigner, wfc::WfcTask, wfc::wave_function_collapse, wfc::wfc_data_assigner

physics

Enables avian2d

Affects layer::physics, layer::LdtkLayers.physics_layer, ldtk::unload_ldtk_layer, resources::LdtkAdditionalLayers.physics_layer, load::load_physics_layer, save::save_physics_layer, pattern::TilemapPattern.physics_tiles, buffers::PhysicsTileBuffer, buffers::PackedPhysicsTileBuffer, storage::PhysicsTileChunkedStorage, storage::PackedPhysicsTileChunkedStorage, despawn::despawn_physics_tilemaps, tilemap::physics

serializing algorithm? ldtk?

Enables ron and serde and serialize of bevy ^0.14

bevy:

Enable serialization support through serde

Affects drawing::draw_updater_aabbs, bevy_entitiles::serializing, physics::SerializablePhysicsSource

tiled = atlas

Enables bevy_entitiles_derive, futures-lite, quick-xml, and serde

Affects bevy_entitiles::tiled