Overview
Moves an image and wraps overflow around from the opposite side. Its two main jobs are checking seams in tile assets and creating infinite scrolling.
Usage tips
- An essential tile-production check is to offset by half the dimensions
(
offset = width/2). This moves seams to the center, where discontinuities are immediately visible. Use it withtile_preview. - For scrolling animation, promote
offset_xto an input pin ๐ and connecttime_sourceto make the background flow endlessly. Advance by exactly one full width per loop (offset=width) for a seamless cycle. - Use
transformfor ordinary translation where overflow disappears. This node is for movement that wraps.
Related nodes
tile_previewโ arrange tiles to inspect seams (use them together)transformโ ordinary translation without wrappingtime_sourceโ drive scrollinganimation_renderโ bake scrolling animation
Where it helps
- Move the seams of a tile asset to the center for inspection.
- Make offsets before and after seamless processing easier to see.
- Use wraparound instead of transparent gaps for translational movement.
Technical details
The output dimensions match the input image. On axes where wrap_x / wrap_y
is enabled, source coordinates are taken modulo the image dimensions to wrap them
to the opposite side.