Grid: L2RT2B
ASTER::ACTION::ALIGN::Left to Right, Top to Bottom, Grid
Align & arrange instances in a grid pattern from left to right, top to bottom, using the image dimensions (width and height) of the instances.
During the execution of the CF25 application, the coordinates of the selected object instance are aligned and modified.
Only sprite (Active) object types can be selected.
Parameter.1
Select the object instance. Only the "Active (sprite) Object" Type can select.
If "The Active Object" is not specified, an error will be displayed when executing the action from the event, and the process will be aborted.
Parameter.2
"100, 100, 3, +10, +10, true"
Name | Type | Description |
---|---|---|
setup x position | int | X coordinate to start placing |
setup y position | int | Y coordinate to start placing |
Grid Width | unsigned int | Grid width, unsigned integer |
offset-x | int | Offset value for x-position adjustment: negative values possible |
offset-y | int | Offset value for y-position adjustment: negative values possible |
Animation Frame Change Flag | boolean | true = Force change of animation frame |
The value specified by Grid Width is the maximum number of rows in the horizontal direction of the grid, and the number of instances to be arranged horizontally.
Notes
The Alignment function does Not use floating point numbers as parameters. Here is a sample as an Error。
Parameters cannot be written without regard to data type.
Although some template parameters are compatible, the number of parameters is basically different, so please avoid diverting parameters to other templates without verifying the operation.