For Each Tile¶
Description¶
The For Each Tile Node is used to make changes efficiently across a
rectangular area of the Tilemap.
Ports¶
- Flow In
- In order for this node to perform its operation, it must be connected into an active flow using this input port. The flow will ultimately originate at a Trigger node but can come from the Flow Out port of any other flow node.
- Body
- A node connected to the Body port will be executed in sequence for every tile in the rectangular area.
- X
- An integer input port used to provide the X value of the top left tile coordinate.
- Y
- An integer input port used to provide the Y value of the top left tile coordinate.
- X
- An integer input port used to provide the width in tiles of the area to process.
- H
- An integer input port used to provide the height in tiles of the area to process.
- X Out
- An integer output port, used to provide the X tile coordinate to the Body flow, each iteration through the loop, this value is updated to represent the current tile in the area.
- Y Out
- An integer output port, used to provide the Y tile coordinate to the Body flow, each iteration through the loop, this value is updated to represent the current tile in the area.
- Exit
- A node connected to the Exit port will be executed in sequence following the completion of this node's operation.
Parameters¶
- X
- A constant integer value for the X coordinate, used when the X port is not connected.
- Y
- A constant integer value for the Y coordinate, used when the Y port is not connected.
- Collision
- A constant value for the collision sides, used when the Collision port is not connected.