Yotsuba Games
Back to Node List

Rule Operation Merge

rule_operation_merge

Merges the placement operations (and painted cells) of multiple rule canvases into one.

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
ć‚­ćƒ£ćƒ³ćƒć‚¹1
canvas_a
RuleCanvas
Required
ēµåˆć™ć‚‹ćƒ«ćƒ¼ćƒ«ć‚­ćƒ£ćƒ³ćƒć‚¹ć§ć™ć€‚
ć‚­ćƒ£ćƒ³ćƒć‚¹2
canvas_b
RuleCanvas
ēµåˆć™ć‚‹ćƒ«ćƒ¼ćƒ«ć‚­ćƒ£ćƒ³ćƒć‚¹ć§ć™ć€‚
ć‚­ćƒ£ćƒ³ćƒć‚¹3
canvas_c
RuleCanvas
ēµåˆć™ć‚‹ćƒ«ćƒ¼ćƒ«ć‚­ćƒ£ćƒ³ćƒć‚¹ć§ć™ć€‚
ć‚­ćƒ£ćƒ³ćƒć‚¹4
canvas_d
RuleCanvas
ēµåˆć™ć‚‹ćƒ«ćƒ¼ćƒ«ć‚­ćƒ£ćƒ³ćƒć‚¹ć§ć™ć€‚

Output Ports

NameTypeDescription
ćƒ«ćƒ¼ćƒ«ć‚­ćƒ£ćƒ³ćƒć‚¹
canvas
RuleCanvas
ēµåˆć—ćŸć‚­ćƒ£ćƒ³ćƒć‚¹ć§ć™ć€‚
č­¦å‘Š
warnings
Text
ćƒžćƒƒćƒ—ć‚µć‚¤ć‚ŗäøäø€č‡“ćŖć©ć®ę³Øę„ē‚¹ć§ć™ć€‚
ꦂ要
summary
Text
ēµåˆēµęžœć®ēŸ­ć„ć¾ćØć‚ć§ć™ć€‚

Overview

Layers multiple rule canvases into one, combining hand painting with parametric placements from rule_rect, rule_polyline, and similar nodes. This enables a layered workflow such as painting base terrain by hand and placing buildings with rectangle nodes.

Usage tips

  • Later inputs appear on top. Put the base terrain in canvas_a, then overlays in b, c, and so on.
  • Keeping parametric placement (rect / polyline / path) in separate nodes lets you move size and position with sliders without damaging the painted canvas.
  • Check the warnings output at least once to catch dimension mismatches.

Related nodes

  • rule_rect / rule_polyline / rule_path — supply parametric placements
  • rule_canvas — supplies the hand-painted canvas
  • rule_render — renders the combined result

What this node does

Combines parametric operations made with Rule Rect and Rule Polyline with a canvas painted in the editor. Operations are layered by input order, then by order within each canvas; later inputs appear on top. Non-empty hand-painted cells overwrite earlier cells.

For a canvas whose map dimensions differ from the first input, hand-painted cells are skipped while operations are still combined. A warning reports the mismatch. Operation coordinates remain valid because they are absolute.

Inputs and outputs

Kind ID Type Description
Input canvas_a–canvas_d RuleCanvas (only a is required) Canvases to combine.
Output canvas RuleCanvas Combined result.
Output warnings / summary Text Dimension mismatches and a summary.

Example wiring

Hand-painted RuleCanvas.canvas ──→ RuleOperationMerge.canvas_a
RuleRect.canvas                ──→ RuleOperationMerge.canvas_b
RuleOperationMerge.canvas      ──→ RuleRender.canvas
Back to Node List
Rule Operation Merge — PixPipeline Node Reference