mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-11 04:54:06 +01:00
17 lines
579 B
Plaintext
17 lines
579 B
Plaintext
function Node_VFX_Group(_x, _y, _group = noone) : Node_Collection(_x, _y, _group) constructor {
|
|
name = "VFX";
|
|
color = COLORS.node_blend_vfx;
|
|
icon = THEME.vfx;
|
|
ungroupable = false;
|
|
|
|
if(!LOADING && !APPENDING && !CLONING) {
|
|
var input = nodeBuild("Node_VFX_Spawner", -256, -32, self);
|
|
var renderer = nodeBuild("Node_VFX_Renderer", 256, -32, self);
|
|
var output = nodeBuild("Node_Group_Output", 256 + 32 * 5, -32, self);
|
|
|
|
renderer.inputs[| renderer.input_fix_len].setFrom(input.outputs[| 0]);
|
|
output.inputs[| 0].setFrom(renderer.outputs[| 0]);
|
|
}
|
|
|
|
PATCH_STATIC
|
|
} |