repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/error.rs
crates/dc_figma_import/src/error.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/figma_schema.rs
crates/dc_figma_import/src/figma_schema.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
true
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/design_definition.rs
crates/dc_figma_import/src/design_definition.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/component_context.rs
crates/dc_figma_import/src/component_context.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/image_context.rs
crates/dc_figma_import/src/image_context.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/meter_schema.rs
crates/dc_figma_import/src/meter_schema.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/figma_v1_document_mocks.rs
crates/dc_figma_import/src/figma_v1_document_mocks.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
true
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/variable_utils.rs
crates/dc_figma_import/src/variable_utils.rs
/* * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/tools/fetch_layout.rs
crates/dc_figma_import/src/tools/fetch_layout.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/tools/dcf_info.rs
crates/dc_figma_import/src/tools/dcf_info.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/tools/fetch.rs
crates/dc_figma_import/src/tools/fetch.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/tools/mod.rs
crates/dc_figma_import/src/tools/mod.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/bin/fetch_layout.rs
crates/dc_figma_import/src/bin/fetch_layout.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/bin/dcf_info.rs
crates/dc_figma_import/src/bin/dcf_info.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/src/bin/fetch.rs
crates/dc_figma_import/src/bin/fetch.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/tests/test_fetches.rs
crates/dc_figma_import/tests/test_fetches.rs
/* * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_figma_import/tests/layout_tests.rs
crates/dc_figma_import/tests/layout_tests.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/lib.rs
crates/dc_layout/src/lib.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/into_taffy.rs
crates/dc_layout/src/into_taffy.rs
// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/styles.rs
crates/dc_layout/src/styles.rs
// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/layout_manager.rs
crates/dc_layout/src/layout_manager.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/debug.rs
crates/dc_layout/src/debug.rs
// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/android_interface.rs
crates/dc_layout/src/android_interface.rs
// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/layout_style.rs
crates/dc_layout/src/layout_style.rs
// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/into_taffy/dimension_proto.rs
crates/dc_layout/src/into_taffy/dimension_proto.rs
// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
google/automotive-design-compose
https://github.com/google/automotive-design-compose/blob/4caea40f7dfc29cafb17c0cc981d1a5607ef0aad/crates/dc_layout/src/into_taffy/dimension_rect.rs
crates/dc_layout/src/into_taffy/dimension_rect.rs
// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
rust
Apache-2.0
4caea40f7dfc29cafb17c0cc981d1a5607ef0aad
2026-01-04T19:58:26.365701Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/lib.rs
src/lib.rs
#![doc = include_str!("../book/src/intro.md")] //! //! ## Documentation //! //! As the name implies, this API reference purpose is to describe the API provided by `bevy_ecs_tiled`. //! //! For a more use-cases oriented documentation please have a look to the [`bevy_ecs_tiled` book](https://adrien-bon.github.io/bevy_ecs...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/physics/settings.rs
src/physics/settings.rs
//! Physics settings management for Tiled maps and worlds. //! //! This module defines the [`TiledPhysicsSettings`] component, which controls how physics colliders are generated //! for Tiled maps and worlds in Bevy. It notably provides filtering options for selecting which Tiled objects and tiles //! should receive co...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/physics/collider.rs
src/physics/collider.rs
//! Collider management for Tiled maps and worlds. //! //! This module defines marker components and events for colliders generated from Tiled maps and objects. //! It provides types to distinguish between colliders created from tile layers and object layers, //! as well as utilities for extracting tile data relevant t...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/physics/mod.rs
src/physics/mod.rs
//! This module handles all things related to physics. //! //! It is only available when the `physics` feature is enabled. //! //! See the [dedicated book section](https://adrien-bon.github.io/bevy_ecs_tiled/guides/physics.html) for more information. pub mod backend; pub mod collider; pub mod settings; use crate::pre...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/physics/backend/mod.rs
src/physics/backend/mod.rs
//! Physics backend abstraction for Tiled maps and worlds. //! //! This module defines the [`TiledPhysicsBackend`] trait, which must be implemented by any custom physics backend //! to support physics collider generation for Tiled maps and worlds. //! //! Built-in support is provided for Rapier and Avian backends via f...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/physics/backend/avian.rs
src/physics/backend/avian.rs
//! Avian physics backend for bevy_ecs_tiled. //! //! This module provides an implementation of the [`TiledPhysicsBackend`] trait using the Avian 2D physics engine. //! This backend is only available when the `avian` feature is enabled. //! //! # Example //! //! ```rust,no_run //! use bevy::prelude::*; //! use bevy_ecs...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/physics/backend/rapier.rs
src/physics/backend/rapier.rs
//! Rapier physics backend for bevy_ecs_tiled. //! //! This module provides an implementation of the [`TiledPhysicsBackend`] trait using the Rapier 2D physics engine. //! This backend is only available when the `rapier` feature is enabled. //! //! # Example: //! //! ```rust,no_run //! use bevy::prelude::*; //! use bevy...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/reader.rs
src/tiled/reader.rs
//! Implementation of a custom [tiled::ResourceReader] for asset loading in Bevy. //! //! This module provides an implementation of the [`tiled::ResourceReader`] trait, //! allowing Tiled assets (such as maps and tilesets) to be loaded from Bevy's asset system. This enables //! seamless integration of Tiled resources w...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/tile.rs
src/tiled/tile.rs
//! ECS components for Tiled tiles. //! //! This module defines Bevy components used to represent Tiled tiles and tilemaps within the ECS world. //! The [`TiledTile`] component marks individual tile entities, while the [`TiledTilemap`] component //! is used to group and render collections of tiles as a single texture. ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/object.rs
src/tiled/object.rs
//! ECS components for Tiled objects. //! //! This module defines Bevy components used to represent Tiled objects within the ECS world. use crate::prelude::{geo::Centroid, *}; use crate::tiled::helpers::iso_projection; use bevy::prelude::*; /// Relationship and Marker [`Component`] for the visual representation of a ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/event.rs
src/tiled/event.rs
//! Events related to Tiled maps and worlds. //! //! This module defines a generic [`TiledEvent`] type that can be used to represent various //! events related to Tiled maps and worlds. //! //! It also defines specific events such as [`WorldCreated`] or [`MapCreated`] that are used //! to signal the creation of a Tiled...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/image.rs
src/tiled/image.rs
//! ECS components for Tiled images. //! //! This module defines Bevy components used to represent Tiled images within the ECS world. use crate::prelude::*; use bevy::prelude::*; /// Marker [`Component`] for the [`Sprite`] attached to an image layer. #[derive(Component, Default, Reflect, Copy, Clone, Debug)] #[reflec...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/filter.rs
src/tiled/filter.rs
//! Utilities for filtering Tiled names. //! //! This module provides types and helpers for filtering and matching names of Tiled objects, layers, tiles or types. //! It is used throughout the plugin to allow selective processing of Tiled entities based on their names. use crate::prelude::*; use bevy::prelude::*; ///...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/helpers.rs
src/tiled/helpers.rs
//! Internal helper functions and utilities for the bevy_ecs_tiled plugin. //! //! This module provides a collection of utility functions used throughout the crate for tasks such as //! coordinate conversions, data extraction, and other operations related to Tiled maps and worlds. use std::sync::Arc; use crate::prelu...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/animation.rs
src/tiled/animation.rs
//! Animation systems for Tiled sprites. //! //! This module implements logic for animating Tiled tiles and objects with frame-based animations //! as defined in Tiled maps. use crate::prelude::*; use bevy::prelude::*; /// This [`Component`] is used for animated objects. /// We will automatically update the Sprite in...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/layer.rs
src/tiled/layer.rs
//! ECS components for Tiled layers. //! //! This module defines Bevy components used to represent Tiled layers within the ECS world. //! The [`TiledLayer`] enum allows systems to identify and differentiate between various types of Tiled layers, //! such as tile layers, object layers, image layers, and group layers. u...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/mod.rs
src/tiled/mod.rs
//! Core Tiled integration for `bevy_ecs_tiled`. //! //! This module contains the main logic for loading, processing, and managing Tiled maps and worlds within Bevy. //! It organizes submodules for assets, components, systems, events and utilities related to Tiled support. pub mod animation; pub mod event; pub mod fil...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/cache.rs
src/tiled/cache.rs
//! Resource cache implementation for Tiled assets. //! //! This module provides a thread-safe wrapper around [`tiled::DefaultResourceCache`]. //! It implements the [`tiled::ResourceCache`] trait, enabling efficient caching and retrieval of Tiled tilesets //! and templates within the Bevy ECS environment. The cache is ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/sets.rs
src/tiled/sets.rs
//! System sets for the bevy_ecs_tiled plugin. //! //! This module defines enums grouping related systems for the PreUpdate, Update, and PostUpdate //! schedules. These sets help organize and order the execution of systems related to Tiled map and //! world processing, including asset loading, physics initialization, a...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/world/asset.rs
src/tiled/world/asset.rs
//! This module contains all world [`Asset`]s definition. use crate::prelude::*; use bevy::{math::bounding::Aabb2d, prelude::*}; use std::fmt; /// Tiled world `Asset`. /// /// `Asset` holding Tiled world informations. #[derive(TypePath, Asset)] pub struct TiledWorldAsset { /// The raw Tiled world data pub wor...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/world/storage.rs
src/tiled/world/storage.rs
//! Storage structures for Tiled world data. //! //! This module provides data structures and utilities for storing and managing Tiled world information, //! including references to maps, world chunks, and world-level metadata. It enables efficient access and //! organization of world data for chunking, streaming, and ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/world/mod.rs
src/tiled/world/mod.rs
//! Tiled world management and logic. //! //! This module contains the core logic for handling Tiled worlds, including loading, chunking, and managing //! multiple maps within a world. It organizes submodules and systems related to world storage, chunk visibility, //! and world-level events, providing the main entry po...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/world/loader.rs
src/tiled/world/loader.rs
//! Asset loader for Tiled worlds. //! //! This module defines the asset loader implementation for importing Tiled worlds into Bevy's asset system. use crate::{ prelude::*, tiled::{cache::TiledResourceCache, reader::BytesResourceReader}, }; use bevy::{ asset::{io::Reader, AssetLoader, AssetPath, LoadContex...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/world/chunking.rs
src/tiled/world/chunking.rs
//! Chunk management for Tiled worlds. //! //! This module implements logic spawning and despawning Tiled maps based on camera position //! and chunking configuration. It allows for efficient rendering and memory management by only //! keeping visible maps in memory, while removing those that are not currently in view....
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/properties/command.rs
src/tiled/properties/command.rs
use std::ops::Deref; use crate::tiled::properties::load::DeserializedProperties; use bevy::{ ecs::{reflect::ReflectBundle, system::EntityCommands}, prelude::*, reflect::{PartialReflect, TypeRegistry}, }; pub(crate) trait PropertiesCommandExt { fn insert_properties(&mut self, properties: DeserializedPr...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/properties/types_json.rs
src/tiled/properties/types_json.rs
use serde::{Deserialize, Serialize}; #[derive(Clone, Eq, PartialEq, Hash, Debug, Serialize, Deserialize)] pub(crate) struct TypeExport { pub id: u32, pub name: String, #[serde(flatten)] pub type_data: TypeData, } #[derive(Clone, Eq, PartialEq, Hash, Debug, Serialize, Deserialize)] #[serde(tag = "type"...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/properties/mod.rs
src/tiled/properties/mod.rs
//! Handles all logic related to Tiled custom properties. //! //! This module is only available when the `user_properties` feature is enabled. //! It provides mechanisms for exporting, loading, and managing user-defined properties //! that can be attached to Tiled maps, objects, and tiles. See the [associated example](...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/properties/export.rs
src/tiled/properties/export.rs
use crate::{prelude::*, tiled::properties::types_json::*}; use bevy::{ ecs::reflect::ReflectBundle, platform::collections::HashMap, prelude::*, reflect::{ ArrayInfo, EnumInfo, NamedField, ReflectRef, StructInfo, TupleInfo, TupleStructInfo, TypeInfo, TypeRegistration, TypeRegistry, Unname...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
true
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/properties/load.rs
src/tiled/properties/load.rs
use crate::prelude::*; use bevy::{ asset::LoadContext, ecs::reflect::ReflectBundle, platform::collections::HashMap, prelude::*, reflect::{ DynamicArray, DynamicEnum, DynamicStruct, DynamicTuple, DynamicTupleStruct, DynamicVariant, NamedField, Reflect, ReflectMut, ReflectRef, TypeInfo...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/map/spawn.rs
src/tiled/map/spawn.rs
//! Systems and utilities for spawning Tiled map entities. //! //! This module contains logic for instantiating Bevy entities and components from Tiled map data. //! It handles the creation of map layers, tiles, objects, and their associated components in the ECS world, //! enabling the rendering and interaction of Til...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/map/asset.rs
src/tiled/map/asset.rs
//! Asset types and asset loader for Tiled maps. //! //! This module defines asset structures, asset events, and the asset loader implementation for importing Tiled maps //! into Bevy's asset system. use crate::{prelude::*, tiled::helpers::iso_projection}; use bevy::{platform::collections::HashMap, prelude::*}; use st...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/map/storage.rs
src/tiled/map/storage.rs
//! Storage structures for Tiled map data. //! //! This module defines data structures and utilities for storing and managing the contents of a Tiled map, //! including layers, tiles, and associated metadata. It provides efficient access and organization of map data //! for use by systems and plugins within the bevy_ec...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/map/mod.rs
src/tiled/map/mod.rs
//! Core logic and types for Tiled map support. //! //! This module provides the main structures, systems, and utilities for handling Tiled maps within the plugin. //! It includes submodules for map storage, entity spawning, and other map-related functionality. //! The types and functions defined here enable loading, m...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/tiled/map/loader.rs
src/tiled/map/loader.rs
//! Asset loader for Tiled maps. //! //! This module defines the asset loader implementation for importing Tiled maps into Bevy's asset system. #[cfg(feature = "user_properties")] use std::ops::Deref; use std::sync::Arc; use crate::{ prelude::*, tiled::{ cache::TiledResourceCache, helpers::iso_project...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/debug/objects.rs
src/debug/objects.rs
//! Debug plugin for visualizing Tiled objects in Bevy. //! //! This module provides a plugin and configuration for displaying Bevy [`Gizmos`] at the positions of Tiled objects. //! It is especially useful for debugging object placement, orientation, and integration of Tiled maps in your Bevy game. //! //! When enabled...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/debug/mod.rs
src/debug/mod.rs
//! Debugging tools for bevy_ecs_tiled. //! //! This module provides plugins and utilities to help visualize and debug Tiled maps and worlds //! in your Bevy application. Enable the `debug` feature to use these plugins, which include //! gizmo overlays for objects, tiles, world chunks, and axes. pub mod axis; pub mod ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/debug/axis.rs
src/debug/axis.rs
//! Axis debug visualization for bevy_ecs_tiled. //! //! This module provides a simple plugin to display the world origin and axes in 2D using Bevy's gizmo system. //! It is useful for debugging map alignment, orientation, and coordinate systems in Tiled maps. use bevy::prelude::*; #[derive(Debug, Clone, Copy)] /// P...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/debug/tiles.rs
src/debug/tiles.rs
//! Debug plugin for visualizing tile indices in Bevy Tiled maps. //! //! This module provides a plugin and configuration for displaying the `bevy_ecs_tilemap` tile index ([`TilePos`]) //! above each tile in your map. This is useful for debugging tile placement, grid alignment, and verifying //! that tiles are correctl...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/src/debug/world_chunk.rs
src/debug/world_chunk.rs
//! Debug plugin for world chunking in bevy_ecs_tiled. //! //! This module provides a plugin and configuration for visualizing world render chunks and map boundaries //! using Bevy [`Gizmos`]. It is useful for debugging how your Tiled worlds are chunked and rendered, and for //! verifying the alignment and boundaries o...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/physics_rapier_settings.rs
examples/physics_rapier_settings.rs
// This example shows how to use Rapier physics backend. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; use bevy_rapier2d::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImageP...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/physics_avian_orientation.rs
examples/physics_avian_orientation.rs
// This example shows Avian2D physics backend with various map orientation. use avian2d::prelude::*; use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/world_basic.rs
examples/world_basic.rs
// This example shows the basic usage of the plugin to load a Tiled world. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::defaul...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/physics_avian_settings.rs
examples/physics_avian_settings.rs
// This example shows how to use Avian2D physics backend. use avian2d::prelude::*; use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/orientation_hexagonal.rs
examples/orientation_hexagonal.rs
//! This example cycles through different kinds of hexagonal maps. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::default_neares...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/physics_custom.rs
examples/physics_custom.rs
//! This example shows how to use a custom physics backend. use bevy::{ asset::RenderAssetUsages, color::palettes::css::{PURPLE, RED}, prelude::*, }; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/map_spawn_delay.rs
examples/map_spawn_delay.rs
//! This example will delay map spawn from asset loading to demonstrate both are decoupled. use std::time::*; use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlu...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/properties_basic.rs
examples/properties_basic.rs
//! This example shows how to map custom tiles and objects properties from Tiled to Bevy Components. use std::env; use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { // Use a custom file path to export registered types in Tiled format let mut path = env::current_dir().unwrap(); ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/map_parallax.rs
examples/map_parallax.rs
//! This example demonstrates parallax scrolling with Tiled maps. //! //! Parallax scrolling creates a sense of depth by making background layers move //! slower than foreground layers when the camera moves. //! //! ## Setting up parallax in Tiled: //! 1. Open your map in Tiled //! 2. Select a layer you want to apply p...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/map_events.rs
examples/map_events.rs
//! This example shows how to use map loading events. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::default_nearest())) ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/map_basic.rs
examples/map_basic.rs
//! This example shows the basic usage of the plugin. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::default_nearest())) ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/orientation_orthogonal.rs
examples/orientation_orthogonal.rs
//! This example cycles through different kinds of orthogonal maps. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::default_neare...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/physics_rapier_orientation.rs
examples/physics_rapier_orientation.rs
// This example shows Rapier physics backend with various map orientation. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; use bevy_rapier2d::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins....
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/world_chunking.rs
examples/world_chunking.rs
// This example shows how to load Tiled World files and demonstrates chunking the loaded maps. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; const STEP_SIZE: u32 = 8; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/map_anchor.rs
examples/map_anchor.rs
//! This example shows the basic usage of `TilemapAnchor`. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; #[derive(Component)] struct AnchorLabel; fn main() { let mut app = App::new(); app // Bevy default plugins: prevent blur effect by changing default sampling. .add_plug...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/map_settings.rs
examples/map_settings.rs
//! This example cycles through different map settings that can be applied. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::defau...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/orientation_isometric.rs
examples/orientation_isometric.rs
//! This example cycles through different kinds of isometric maps. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::default_neares...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/physics_avian_controller.rs
examples/physics_avian_controller.rs
//! This example shows a simple player-controlled object using Avian2D physics. You can move the object using arrow keys. use avian2d::prelude::*; use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; const MOVE_SPEED: f32 = 200.; const GRAVITY_SCALE: f32 = 10.0; fn main() { App::new() // Be...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/map_reload.rs
examples/map_reload.rs
//! This example demonstrates how to load and unload maps. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; mod helper; fn main() { App::new() // Bevy default plugins: prevent blur effect by changing default sampling .add_plugins(DefaultPlugins.build().set(ImagePlugin::default_nearest())) ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/physics_rapier_controller.rs
examples/physics_rapier_controller.rs
//! This example shows a simple player-controlled object using Rapier physics. You can move the object using arrow keys. use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; use bevy_rapier2d::prelude::*; mod helper; const MOVE_SPEED: f32 = 200.; const GRAVITY_SCALE: f32 = 10.0; fn main() { App::new() ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/patrol.rs
examples/demo_platformer/patrol.rs
use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; use crate::{ controller::{MovementAction, MovementEvent}, UpdateSystems, }; pub(super) fn plugin(app: &mut App) { app.register_type::<RequestedDestination>(); app.register_type::<PatrolRoute>(); app.register_type::<PatrolProgress>(); app.ad...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/trigger.rs
examples/demo_platformer/trigger.rs
use avian2d::prelude::*; use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; use crate::UpdateSystems; pub(super) fn plugin(app: &mut App) { app.register_type::<TriggerZone>(); app.register_type::<TriggerActor>(); app.add_systems( Update, (create_trigger_zone, handle_collision_start) ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/player.rs
examples/demo_platformer/player.rs
//! Player-specific behavior. use std::time::Duration; use crate::{ animation::{Animation, AnimationState}, controller::{CharacterControllerBundle, MovementAction, MovementEvent}, minimap::MINIMAP_RENDER_LAYER, trigger::TriggerActor, UpdateSystems, }; use avian2d::{math::*, prelude::*}; use bevy::...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/animation.rs
examples/demo_platformer/animation.rs
use avian2d::prelude::*; use bevy::{platform::collections::HashMap, prelude::*}; use std::time::Duration; use crate::UpdateSystems; pub(super) fn plugin(app: &mut App) { // Animate and play sound effects based on controls. app.register_type::<Animation>(); app.add_systems( Update, ( ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/level.rs
examples/demo_platformer/level.rs
use avian2d::prelude::*; use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; pub(super) fn plugin(app: &mut App) { app.add_systems(Startup, startup); } fn startup(mut commands: Commands, asset_server: Res<AssetServer>) { commands .spawn(( TiledMap(asset_server.load("demo_platformer/demo....
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/controller.rs
examples/demo_platformer/controller.rs
use avian2d::{math::*, prelude::*}; use bevy::{ecs::query::Has, prelude::*}; use crate::UpdateSystems; // Disclaimer // This character controller was stolen from Avian examples: // https://github.com/avianphysics/avian/tree/main/crates/avian2d/examples/dynamic_character_2d pub struct CharacterControllerPlugin; impl...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/debug.rs
examples/demo_platformer/debug.rs
use bevy::{input::common_conditions::input_toggle_active, prelude::*}; use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin}; const TOGGLE_INSPECTOR_KEY: KeyCode = KeyCode::F1; pub(super) fn plugin(app: &mut App) { app.add_plugins(( EguiPlugin::default(), WorldInspectorPlu...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/enemy.rs
examples/demo_platformer/enemy.rs
use std::time::Duration; use avian2d::{math::*, prelude::*}; use bevy::{ camera::visibility::RenderLayers, color::palettes::css::RED, prelude::*, sprite::Anchor, }; use crate::{ animation::{Animation, AnimationState}, controller::CharacterControllerBundle, minimap::{HideOnMinimap, MINIMAP_RENDER_LAYER...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/minimap.rs
examples/demo_platformer/minimap.rs
use bevy::{ app::{HierarchyPropagatePlugin, Propagate}, asset::RenderAssetUsages, camera::{visibility::RenderLayers, RenderTarget}, color::palettes::tailwind::CYAN_100, prelude::*, render::render_resource::{TextureDimension, TextureFormat, TextureUsages}, }; use bevy_ecs_tiled::prelude::*; pub(...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/camera.rs
examples/demo_platformer/camera.rs
use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; use crate::player::Player; pub(super) fn plugin(app: &mut App) { app.add_systems(Startup, setup_camera); app.add_systems( PostUpdate, camera_follow_player.before(TransformSystems::Propagate), ); } #[derive(Component)] pub struct MainCa...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/demo_platformer/main.rs
examples/demo_platformer/main.rs
use std::env; use avian2d::prelude::*; use bevy::{asset::AssetMetaCheck, prelude::*}; use bevy_ecs_tiled::prelude::*; mod animation; mod camera; mod controller; mod debug; mod enemy; mod level; mod minimap; mod patrol; mod player; mod trigger; fn main() { let mut app = App::new(); // Add Bevy plugins. a...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/helper/map.rs
examples/helper/map.rs
use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; const ROTATION_SPEED: f32 = 45.; #[allow(clippy::type_complexity)] pub fn rotate( time: Res<Time>, keyboard_input: Res<ButtonInput<KeyCode>>, mut world_or_map_query: Query< (Option<&ChildOf>, Option<&TiledMap>, &mut Transform), Or<(With...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/helper/mod.rs
examples/helper/mod.rs
use bevy::{input::common_conditions::input_toggle_active, prelude::*}; use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin}; pub mod anchor; #[allow(dead_code)] pub mod assets; mod camera; mod map; #[derive(Default)] pub struct HelperPlugin; impl Plugin for HelperPlugin { fn build(&self...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/helper/camera.rs
examples/helper/camera.rs
// The code in this file was originally copied from // [bevy_ecs_tilemap](https://github.com/StarArawn/bevy_ecs_tilemap). // The original code is licensed under the following license, // with modifications under the license in the root of this repository. // // -- // MIT License // Copyright (c) 2021 John // Permissi...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false
adrien-bon/bevy_ecs_tiled
https://github.com/adrien-bon/bevy_ecs_tiled/blob/82018c14762a9363f6813b41fd4659266a337e3b/examples/helper/assets.rs
examples/helper/assets.rs
use bevy::prelude::*; use bevy_ecs_tiled::prelude::*; pub type MapInfosCallback = fn(&mut EntityCommands); pub struct MapInfos { handle: Handle<TiledMapAsset>, path: String, description: String, callback: MapInfosCallback, } impl MapInfos { pub fn new( asset_server: &Res<AssetServer>, ...
rust
MIT
82018c14762a9363f6813b41fd4659266a337e3b
2026-01-04T20:23:27.337930Z
false