Showing results for on ceramic-engine.com
...TilemapParser provides a unified interface for parsing different tilemap file formats and converting them to Ceramic's TilemapData structure. Currently supports TMX (Tiled Map...
...Handles loading of tilemap files, external tilesets, and associated textures.
Supported formats:
- TMX (Tiled Map Editor): XML-based format with optional external TSX tilesets...
Supported formats:
- TMX (Tiled Map Editor): XML-based format with optional external TSX tilesets...
...true // Connect with map edges
};
// Create auto-tiler
var autoTiler = new AutoTiler([grassAutoTile]);
// Add to tilemap layer
};
// Create auto-tiler
var autoTiler = new AutoTiler([grassAutoTile]);
// Add to tilemap layer
Tilemap
A visual component that renders tilemap data composed of multiple layers. Tilemaps are grid-based maps commonly used in 2D games for rendering...
A visual component that renders tilemap data composed of multiple layers. Tilemaps are grid-based maps commonly used in 2D games for rendering...
TilemapLayer
Visual representation of a single layer within a tilemap.
A TilemapLayer renders tiles from a TilemapLayerData structure, handling tile placement, clipping, rendering order...
Visual representation of a single layer within a tilemap.
A TilemapLayer renders tiles from a TilemapLayerData structure, handling tile placement, clipping, rendering order...
...tilemapData.layers = [layerData];
// Then create the actual tilemap
// visual and assign it tilemap data
var tilemap = new Tilemap();
tilemap.tilemapData = tilemapData;
// Then create the actual tilemap
// visual and assign it tilemap data
var tilemap = new Tilemap();
tilemap.tilemapData = tilemapData;
...arcade.Body, tilemap: Tilemap, ?collideCallback: Function, ?processCallback: Function): Bool
collideBodyVsTilemapLayer(body: arcade.Body, layer: TilemapLayer, ?collideCallback: Function, ?processCallback: Function): Bool
overlapBodyVsTilemapLayer(body: arcade.Body...
collideBodyVsTilemapLayer(body: arcade.Body, layer: TilemapLayer, ?collideCallback: Function, ?processCallback: Function): Bool
overlapBodyVsTilemapLayer(body: arcade.Body...
...Ceramic tilesets with proper GID mapping
- Converting LDtk layers (Tiles, IntGrid, AutoLayer, Entities) to tilemap layers
- Loading external level data for multi-file projects...
- Converting LDtk layers (Tiles, IntGrid, AutoLayer, Entities) to tilemap layers
- Loading external level data for multi-file projects...
...Retrieves a layer by its name. Layer names should be unique within a tilemap.
Sets the texture filtering mode for all tileset textures.
Common...
Sets the texture filtering mode for all tileset textures.
Common...
...Usage Example
// Create a tilemap and enable editing
var tilemap = new Tilemap();
tilemap.tilemapData = myTilemapData;
// Attach editor to allow painting on the 'main' layer...
// Create a tilemap and enable editing
var tilemap = new Tilemap();
tilemap.tilemapData = myTilemapData;
// Attach editor to allow painting on the 'main' layer...