bevy_map_core
Core data types for the bevy_map_editor ecosystem.
Part of bevy_map_editor.
Types
| Type | Description |
|---|---|
MapProject |
Complete project with levels, tilesets, dialogues, animations |
Level |
Single map level with layers and entities |
Layer |
Tile or object layer within a level |
Tileset |
Tileset definition with multi-image support |
TilesetImage |
Individual image within a tileset |
EntityInstance |
Placed entity with position and properties |
Value |
Dynamic property value (String, Int, Float, Bool, Color, etc.) |
Usage
use ;
// Create a level
let mut level = new;
// Add a tile layer
let layer = new_tile_layer;
level.layers.push;
// Set tiles
level.set_tile; // layer 0, x=0, y=0, tile index 1
MapProject Structure
License
MIT OR Apache-2.0