图块地图
添加瓦片地图
瓦片地图属性
属性
描述
运行时脚本
CSL
tilemap := entity.get_component(Tilemap_Component);
ground := tilemap.add_layer(.GROUND);
tilemap.set_layer_tile_size(ground, 1.5);
tilemap.set_layer_tint(ground, v4{0.8, 0.9, 1, 1});
tilemap.add_layer_texture(ground, get_asset(Texture_Asset, "tiles/grass.png"), 1);
tilemap.set_layer_mask(ground, get_asset(Texture_Asset, "$AO/tile_mask.png"));
tilemap.set_tile(ground, 10, 12);
world_position := tilemap.tile_to_world(ground, 10, 12);
tile_x, tile_y := tilemap.world_to_tile(ground, world_position);C#
编辑模式
工具
工具
快捷键
描述
画笔绘制
图层
添加和移除图层
图层属性
属性
描述
多纹理变化
自动铺砖
墙体图层
墙体属性
属性
描述
墙体碰撞
属性
描述
印章工具(复制与粘贴)
键盘快捷键摘要
快捷键
操作
最后更新于