Back to Node List

Autotile From Template

autotile_from_template

Builds a full Blob47 autotile set (47 tiles + rules) from a small 5-tile template image or individual role tiles.

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
テンプレート画像
template
Image
選んだレイアウトで役割タイルを並べたテンプレート画像です。ガイド出力に上書きして描いたものを接続します。
塗り(内部)
fill
Image
この役割のタイルを個別に差し替える時に接続します。接続するとテンプレートより優先されます。
孤立(全周が縁)
isolated
Image
この役割のタイルを個別に差し替える時に接続します。接続するとテンプレートより優先されます。
横パイプ(上下が縁)
horizontal
Image
この役割のタイルを個別に差し替える時に接続します。接続するとテンプレートより優先されます。
縦パイプ(左右が縁)
vertical
Image
この役割のタイルを個別に差し替える時に接続します。接続するとテンプレートより優先されます。
十字(四隅が内角)
inner_corner
Image
この役割のタイルを個別に差し替える時に接続します。接続するとテンプレートより優先されます。

Output Ports

NameTypeDescription
ルールタイル素材
asset
RuleTileAsset
タイルセットとルールセットを束ねた1本のワイヤーです。ルールキャンバスへはこれ1本で接続できます。
ルールタイルセット
tile_set
RuleTileSet
47タイル入りのルールタイルセットです。
ルールセット
rule_set
RuleSet
地形名で塗ったマスからタイルを決めるBlob47ルールです。
ルールタイルアトラス
atlas
RuleTileAtlas
47タイルを1枚に並べた情報です。
シート画像
image
Image
Blob47のシート画像です(正規マスク昇順で並びます)。
テンプレートガイド
guide
Image
どこに何を描くかのガイド画像です。PNG保存して上に描き、テンプレート入力へ戻します。
タイル数
tile_count
Int
生成したタイル数です(47)。
警告
warnings
Text
プレースホルダで補った役割など、気をつける点です。
概要
summary
Text
作成結果の短いまとめです。

Parameters

NameTypeDefaultRangeDescription / Options
テンプレート配置
layout
Enum
Strip5

テンプレート画像内で役割タイルをどう並べるかです。

  • 横一列5タイルStrip5
    [塗り][孤立][横パイプ][縦パイプ][十字] を横一列に並べる形式です。
  • RPGツクールA2互換RpgMakerA2
    2×3タイル形式(左上=孤立、右上=内角、下2×2=大きな四角形)です。既存のツクール向け素材を流用できます。
地形名
material_id
Text
terrain

ルールキャンバスに塗る地形の名前です。例: grass、water。

タイルセット名
tileset_name
Text
Blob47 Tiles

作成するタイルセットの名前です。

セル幅
cell_width
Int
00–2048

0 の時はテンプレートや役割タイルからサイズを推定します。

セル高さ
cell_height
Int
00–2048

0 の時はテンプレートや役割タイルからサイズを推定します。

シート列数
columns
Int
80–64

シート画像の列数です。0 の時は自動で決めます。

Overview

A hand-drawn autotile generator that produces all 47 Blob47 tiles after you draw only five tiles. Draw over the guide image, connect the result, and the complete autotile set is ready.

Usage tips

  • The core workflow is to save the guide output and draw over it. You draw only five roles: [fill], [isolated], [horizontal], [vertical], and [cross].
  • RPG Maker A2-compatible layouts are supported, so existing RPG Maker assets can also be reused.
  • If you do not want to draw the tiles, use autotile_from_parts for fully automatic assembly.

Related nodes

  • autotile_from_parts — the fully automatic counterpart
  • rule_canvas — consumes the output
  • rule_tile_merge — combines multiple terrain types
  • tiled_tileset_export — exports the atlas

What this node does

The 47 Blob47 tiles can be built entirely from combinations of five quarter-tile states across four quadrants. This node cuts quarters from a template image containing five role tiles and mechanically assembles all 47 patterns. You do not need to draw and arrange every tile individually.

Basic workflow:

  1. Place the node and save the guide output (the guide image) as a PNG.
  2. Draw your artwork over the guide (only five tiles).
  3. Connect the resulting image to the template input.
  4. Connect tile_set / rule_set to Rule Canvas and paint with the terrain name.

Key settings

ID Name Description
layout Template layout Either 横一列5タイル ([fill][isolated][horizontal][vertical][cross]) or RPGツクールA2互換 (2×3).
material_id Terrain name Name used when painting on the rule canvas, for example grass.
cell_width / cell_height Cell width/height Set to 0 to infer from the template or role tiles.
columns Sheet columns Number of columns in the sheet image (default: 8).

Example wiring

AutotileFromTemplate.tile_set -> RuleCanvas.tile_set
AutotileFromTemplate.rule_set -> RuleCanvas.rule_set
RuleCanvas.resolved           -> TiledMapExport.resolved
AutotileFromTemplate.atlas    -> TiledTilesetExport.atlas

Related

Back to Node List
Autotile From Template — PixPipeline Node Reference