From bb0199e3499f886f4ac629ca14e52390f3830c0a Mon Sep 17 00:00:00 2001 From: Tanasart Date: Thu, 2 May 2024 16:05:02 +0700 Subject: [PATCH] shorter op nodes --- scripts/__node_VFX_effector/__node_VFX_effector.gml | 2 +- scripts/_node_strand_affector/_node_strand_affector.gml | 2 +- scripts/node_VFX_override/node_VFX_override.gml | 2 +- scripts/node_VFX_variable/node_VFX_variable.gml | 2 +- scripts/node_anim_curve/node_anim_curve.gml | 2 +- scripts/node_area/node_area.gml | 2 +- scripts/node_array/node_array.gml | 4 ++-- scripts/node_array_shuffle/node_array_shuffle.gml | 2 +- scripts/node_array_sort/node_array_sort.gml | 5 +++-- scripts/node_base_convert/node_base_convert.gml | 2 +- scripts/node_color/node_color.gml | 2 +- scripts/node_color_data/node_color_data.gml | 2 +- scripts/node_color_hsv/node_color_hsv.gml | 2 +- scripts/node_color_rgb/node_color_rgb.gml | 2 +- scripts/node_compare/node_compare.gml | 2 +- scripts/node_condition/node_condition.gml | 2 +- scripts/node_counter/node_counter.gml | 2 +- scripts/node_find_pixel/node_find_pixel.gml | 2 +- scripts/node_iterator_each_size/node_iterator_each_size.gml | 2 +- scripts/node_iterator_index/node_iterator_index.gml | 2 +- scripts/node_iterator_length/node_iterator_length.gml | 2 +- scripts/node_lerp/node_lerp.gml | 2 +- scripts/node_logic/node_logic.gml | 2 +- scripts/node_math/node_math.gml | 2 +- scripts/node_mesh_create_path/node_mesh_create_path.gml | 2 +- scripts/node_mesh_to_path/node_mesh_to_path.gml | 2 +- scripts/node_move_point/node_move_point.gml | 2 +- scripts/node_path/node_path.gml | 2 +- scripts/node_path_anchor/node_path_anchor.gml | 2 +- scripts/node_path_l_system/node_path_l_system.gml | 2 +- .../node_path_separate_folder/node_path_separate_folder.gml | 2 +- scripts/node_random/node_random.gml | 2 +- scripts/node_rigid_override/node_rigid_override.gml | 2 +- scripts/node_rigid_variable/node_rigid_variable.gml | 2 +- scripts/node_sampler/node_sampler.gml | 2 +- scripts/node_scatter_points/node_scatter_points.gml | 2 +- scripts/node_statistic/node_statistic.gml | 2 +- scripts/node_string_get_char/node_string_get_char.gml | 2 +- scripts/node_string_join/node_string_join.gml | 2 +- scripts/node_string_length/node_string_length.gml | 2 +- scripts/node_string_merge/node_string_merge.gml | 2 +- scripts/node_string_regex_match/node_string_regex_match.gml | 2 +- .../node_string_regex_replace/node_string_regex_replace.gml | 2 +- .../node_string_regex_search/node_string_regex_search.gml | 2 +- scripts/node_string_split/node_string_split.gml | 2 +- scripts/node_string_trim/node_string_trim.gml | 2 +- scripts/node_struct/node_struct.gml | 2 +- scripts/node_struct_get/node_struct_get.gml | 2 +- scripts/node_struct_set/node_struct_set.gml | 2 +- scripts/node_surface_data/node_surface_data.gml | 2 +- scripts/node_switch/node_switch.gml | 2 +- scripts/node_timeline_preview/node_timeline_preview.gml | 2 +- scripts/node_to_number/node_to_number.gml | 2 +- scripts/node_to_text/node_to_text.gml | 2 +- scripts/node_transform_array/node_transform_array.gml | 2 +- scripts/node_unicode/node_unicode.gml | 2 +- scripts/node_vector_cross_2D/node_vector_cross_2D.gml | 2 +- scripts/node_vector_cross_3D/node_vector_cross_3D.gml | 2 +- scripts/node_vector_dot/node_vector_dot.gml | 2 +- 59 files changed, 62 insertions(+), 61 deletions(-) diff --git a/scripts/__node_VFX_effector/__node_VFX_effector.gml b/scripts/__node_VFX_effector/__node_VFX_effector.gml index da4127af8..103304f4d 100644 --- a/scripts/__node_VFX_effector/__node_VFX_effector.gml +++ b/scripts/__node_VFX_effector/__node_VFX_effector.gml @@ -17,7 +17,7 @@ function Node_VFX_effector(_x, _y, _group = noone) : Node(_x, _y, _group) constr manual_ungroupable = false; node_draw_icon = s_node_vfx_accel; - setDimension(96, 80); + setDimension(96, 48); seed = 1; inputs[| 0] = nodeValue("Particles", self, JUNCTION_CONNECT.input, VALUE_TYPE.particle, -1 ) diff --git a/scripts/_node_strand_affector/_node_strand_affector.gml b/scripts/_node_strand_affector/_node_strand_affector.gml index 140ac81ec..dd2618011 100644 --- a/scripts/_node_strand_affector/_node_strand_affector.gml +++ b/scripts/_node_strand_affector/_node_strand_affector.gml @@ -38,7 +38,7 @@ function _Node_Strand_Affector(_x, _y, _group = noone) : Node(_x, _y, _group) co name = "Affector"; color = COLORS.node_blend_strand; icon = THEME.strandSim; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Strand", self, JUNCTION_CONNECT.input, VALUE_TYPE.strands, noone) .setVisible(true, true); diff --git a/scripts/node_VFX_override/node_VFX_override.gml b/scripts/node_VFX_override/node_VFX_override.gml index 379d1a744..9f08ccc10 100644 --- a/scripts/node_VFX_override/node_VFX_override.gml +++ b/scripts/node_VFX_override/node_VFX_override.gml @@ -5,7 +5,7 @@ function Node_VFX_Override(_x, _y, _group = noone) : Node(_x, _y, _group) constr node_draw_icon = s_node_vfx_override; manual_ungroupable = false; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Particles", self, JUNCTION_CONNECT.input, VALUE_TYPE.particle, -1 ) .setVisible(true, true); diff --git a/scripts/node_VFX_variable/node_VFX_variable.gml b/scripts/node_VFX_variable/node_VFX_variable.gml index a386e84ee..5ccc27b2f 100644 --- a/scripts/node_VFX_variable/node_VFX_variable.gml +++ b/scripts/node_VFX_variable/node_VFX_variable.gml @@ -3,7 +3,7 @@ function Node_VFX_Variable(_x, _y, _group = noone) : Node(_x, _y, _group) constr color = COLORS.node_blend_vfx; icon = THEME.vfx; node_draw_icon = s_node_vfx_variable; - setDimension(96, 80); + setDimension(96, 48); manual_ungroupable = false; diff --git a/scripts/node_anim_curve/node_anim_curve.gml b/scripts/node_anim_curve/node_anim_curve.gml index cd4d7bec7..c58a43619 100644 --- a/scripts/node_anim_curve/node_anim_curve.gml +++ b/scripts/node_anim_curve/node_anim_curve.gml @@ -2,7 +2,7 @@ function Node_Anim_Curve(_x, _y, _group = noone) : Node_Processor(_x, _y, _group name = "Evaluate Curve"; update_on_frame = true; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Curve", self, JUNCTION_CONNECT.input, VALUE_TYPE.curve, CURVE_DEF_01); inputs[| 1] = nodeValue("Progress", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 0) diff --git a/scripts/node_area/node_area.gml b/scripts/node_area/node_area.gml index 6689c228f..4ab04c00b 100644 --- a/scripts/node_area/node_area.gml +++ b/scripts/node_area/node_area.gml @@ -1,7 +1,7 @@ function Node_Area(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Area"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Position", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [ 0, 0 ] ) .setDisplay(VALUE_DISPLAY.vector) diff --git a/scripts/node_array/node_array.gml b/scripts/node_array/node_array.gml index c53fa8197..d49fe62ef 100644 --- a/scripts/node_array/node_array.gml +++ b/scripts/node_array/node_array.gml @@ -1,7 +1,7 @@ function Node_Array(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Array"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Type", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 0 ) .setDisplay(VALUE_DISPLAY.enum_scroll, { data: [ "Any", "Surface", "Number", "Color", "Text" ], update_hover: false }) @@ -189,7 +189,7 @@ function Node_Array(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { if(outputs[| 0].type == VALUE_TYPE.surface) w = 128; else - setDimension(96, 80); + setDimension(96, 48); } #endregion static postConnect = function() { #region diff --git a/scripts/node_array_shuffle/node_array_shuffle.gml b/scripts/node_array_shuffle/node_array_shuffle.gml index 9d40ff1bc..d662e1ab3 100644 --- a/scripts/node_array_shuffle/node_array_shuffle.gml +++ b/scripts/node_array_shuffle/node_array_shuffle.gml @@ -1,7 +1,7 @@ function Node_Array_Shuffle(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Shuffle Array"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Array in", self, JUNCTION_CONNECT.input, VALUE_TYPE.any, []) .setVisible(true, true); diff --git a/scripts/node_array_sort/node_array_sort.gml b/scripts/node_array_sort/node_array_sort.gml index 7852726a9..ccb0eb813 100644 --- a/scripts/node_array_sort/node_array_sort.gml +++ b/scripts/node_array_sort/node_array_sort.gml @@ -1,7 +1,7 @@ function Node_Array_Sort(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Sort Array"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Array in", self, JUNCTION_CONNECT.input, VALUE_TYPE.any, []) .setVisible(true, true); @@ -12,7 +12,8 @@ function Node_Array_Sort(_x, _y, _group = noone) : Node(_x, _y, _group) construc outputs[| 0] = nodeValue("Sorted array", self, JUNCTION_CONNECT.output, VALUE_TYPE.any, []); - outputs[| 1] = nodeValue("Sorted index", self, JUNCTION_CONNECT.output, VALUE_TYPE.integer, []); + outputs[| 1] = nodeValue("Sorted index", self, JUNCTION_CONNECT.output, VALUE_TYPE.integer, []) + .setVisible(false); static sortAcs = function(v1, v2) { return v2.val - v1.val; } static sortDes = function(v1, v2) { return v1.val - v2.val; } diff --git a/scripts/node_base_convert/node_base_convert.gml b/scripts/node_base_convert/node_base_convert.gml index 35dc00db4..a587abeb1 100644 --- a/scripts/node_base_convert/node_base_convert.gml +++ b/scripts/node_base_convert/node_base_convert.gml @@ -2,7 +2,7 @@ function Node_Base_Convert(_x, _y, _group = noone) : Node_Processor(_x, _y, _gro name = "Convert Base"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Value", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_color/node_color.gml b/scripts/node_color/node_color.gml index 82ef1498b..a985580e1 100644 --- a/scripts/node_color/node_color.gml +++ b/scripts/node_color/node_color.gml @@ -1,6 +1,6 @@ function Node_Color(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Color"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Color", self, JUNCTION_CONNECT.input, VALUE_TYPE.color, c_white); diff --git a/scripts/node_color_data/node_color_data.gml b/scripts/node_color_data/node_color_data.gml index 8b823a07b..c88661931 100644 --- a/scripts/node_color_data/node_color_data.gml +++ b/scripts/node_color_data/node_color_data.gml @@ -1,6 +1,6 @@ function Node_Color_Data(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Color Data"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Color", self, JUNCTION_CONNECT.input, VALUE_TYPE.color, c_white) .setVisible(true, true); diff --git a/scripts/node_color_hsv/node_color_hsv.gml b/scripts/node_color_hsv/node_color_hsv.gml index 7b763fbaa..dfccf5e03 100644 --- a/scripts/node_color_hsv/node_color_hsv.gml +++ b/scripts/node_color_hsv/node_color_hsv.gml @@ -1,6 +1,6 @@ function Node_Color_HSV(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "HSV Color"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Hue", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 1) .setDisplay(VALUE_DISPLAY.slider) diff --git a/scripts/node_color_rgb/node_color_rgb.gml b/scripts/node_color_rgb/node_color_rgb.gml index 03123f535..a0cc897bd 100644 --- a/scripts/node_color_rgb/node_color_rgb.gml +++ b/scripts/node_color_rgb/node_color_rgb.gml @@ -1,7 +1,7 @@ function Node_Color_RGB(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "RGB Color"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Red", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 1) .setDisplay(VALUE_DISPLAY.slider) diff --git a/scripts/node_compare/node_compare.gml b/scripts/node_compare/node_compare.gml index deccccc0d..42ffd47c6 100644 --- a/scripts/node_compare/node_compare.gml +++ b/scripts/node_compare/node_compare.gml @@ -31,7 +31,7 @@ function Node_Compare(_x, _y, _group = noone) : Node(_x, _y, _group) constructor name = "Compare"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Type", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 0) .setDisplay(VALUE_DISPLAY.enum_scroll, [ new scrollItem("Equal", s_node_condition_type, 0), diff --git a/scripts/node_condition/node_condition.gml b/scripts/node_condition/node_condition.gml index 57d016d9c..85a629e5d 100644 --- a/scripts/node_condition/node_condition.gml +++ b/scripts/node_condition/node_condition.gml @@ -1,7 +1,7 @@ function Node_Condition(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Condition"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Check value", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 0 ) .setVisible(true, true); diff --git a/scripts/node_counter/node_counter.gml b/scripts/node_counter/node_counter.gml index cb6930c2b..16d2a3ea6 100644 --- a/scripts/node_counter/node_counter.gml +++ b/scripts/node_counter/node_counter.gml @@ -2,7 +2,7 @@ function Node_Counter(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) c name = "Frame Index"; update_on_frame = true; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Start", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 1); diff --git a/scripts/node_find_pixel/node_find_pixel.gml b/scripts/node_find_pixel/node_find_pixel.gml index 479f613a8..d65a6e460 100644 --- a/scripts/node_find_pixel/node_find_pixel.gml +++ b/scripts/node_find_pixel/node_find_pixel.gml @@ -1,6 +1,6 @@ function Node_Find_Pixel(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Find pixel"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Surface in", self, JUNCTION_CONNECT.input, VALUE_TYPE.surface, noone); diff --git a/scripts/node_iterator_each_size/node_iterator_each_size.gml b/scripts/node_iterator_each_size/node_iterator_each_size.gml index 42e3f153a..f7a28c466 100644 --- a/scripts/node_iterator_each_size/node_iterator_each_size.gml +++ b/scripts/node_iterator_each_size/node_iterator_each_size.gml @@ -3,7 +3,7 @@ function Node_Iterator_Each_Length(_x, _y, _group = noone) : Node(_x, _y, _group color = COLORS.node_blend_loop; destroy_when_upgroup = true; - setDimension(96, 80); + setDimension(96, 48); outputs[| 0] = nodeValue("Length", self, JUNCTION_CONNECT.output, VALUE_TYPE.integer, 0); diff --git a/scripts/node_iterator_index/node_iterator_index.gml b/scripts/node_iterator_index/node_iterator_index.gml index 20caf2d85..80fd83298 100644 --- a/scripts/node_iterator_index/node_iterator_index.gml +++ b/scripts/node_iterator_index/node_iterator_index.gml @@ -4,7 +4,7 @@ function Node_Iterator_Index(_x, _y, _group = noone) : Node(_x, _y, _group) cons destroy_when_upgroup = true; manual_ungroupable = false; - setDimension(96, 80); + setDimension(96, 48); outputs[| 0] = nodeValue("Loop index", self, JUNCTION_CONNECT.output, VALUE_TYPE.integer, 0); diff --git a/scripts/node_iterator_length/node_iterator_length.gml b/scripts/node_iterator_length/node_iterator_length.gml index 002972ea6..5888f2e37 100644 --- a/scripts/node_iterator_length/node_iterator_length.gml +++ b/scripts/node_iterator_length/node_iterator_length.gml @@ -3,7 +3,7 @@ function Node_Iterator_Length(_x, _y, _group = noone) : Node(_x, _y, _group) con color = COLORS.node_blend_loop; destroy_when_upgroup = true; manual_ungroupable = false; - setDimension(96, 80); + setDimension(96, 48); outputs[| 0] = nodeValue("Length", self, JUNCTION_CONNECT.output, VALUE_TYPE.integer, 0); diff --git a/scripts/node_lerp/node_lerp.gml b/scripts/node_lerp/node_lerp.gml index 29cb8a2dc..151c92aa6 100644 --- a/scripts/node_lerp/node_lerp.gml +++ b/scripts/node_lerp/node_lerp.gml @@ -2,7 +2,7 @@ function Node_Lerp(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) cons name = "Lerp"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("a", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 0); inputs[| 1] = nodeValue("b", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 0); diff --git a/scripts/node_logic/node_logic.gml b/scripts/node_logic/node_logic.gml index 8d8712aeb..ed4be4241 100644 --- a/scripts/node_logic/node_logic.gml +++ b/scripts/node_logic/node_logic.gml @@ -30,7 +30,7 @@ function Node_Logic(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Logic Opr"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Type", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 0) .setDisplay(VALUE_DISPLAY.enum_scroll, [ new scrollItem("And" , s_node_logic, 0), diff --git a/scripts/node_math/node_math.gml b/scripts/node_math/node_math.gml index 94738c3a0..1fd66f298 100644 --- a/scripts/node_math/node_math.gml +++ b/scripts/node_math/node_math.gml @@ -56,7 +56,7 @@ enum MATH_OPERATOR { function Node_Math(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Math"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Type", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 0) .setDisplay(VALUE_DISPLAY.enum_scroll, [ diff --git a/scripts/node_mesh_create_path/node_mesh_create_path.gml b/scripts/node_mesh_create_path/node_mesh_create_path.gml index b1e3bfdaf..8f394c943 100644 --- a/scripts/node_mesh_create_path/node_mesh_create_path.gml +++ b/scripts/node_mesh_create_path/node_mesh_create_path.gml @@ -1,7 +1,7 @@ function Node_Mesh_Create_Path(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Path to Mesh"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Path", self, JUNCTION_CONNECT.input, VALUE_TYPE.pathnode, noone) .setVisible(true, true); diff --git a/scripts/node_mesh_to_path/node_mesh_to_path.gml b/scripts/node_mesh_to_path/node_mesh_to_path.gml index f7d68b777..8773c77da 100644 --- a/scripts/node_mesh_to_path/node_mesh_to_path.gml +++ b/scripts/node_mesh_to_path/node_mesh_to_path.gml @@ -1,7 +1,7 @@ function Node_Mesh_To_Path(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Mesh to Path"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Mesh", self, JUNCTION_CONNECT.input, VALUE_TYPE.mesh, noone) .setVisible(true, true); diff --git a/scripts/node_move_point/node_move_point.gml b/scripts/node_move_point/node_move_point.gml index d33196bdd..3380184f6 100644 --- a/scripts/node_move_point/node_move_point.gml +++ b/scripts/node_move_point/node_move_point.gml @@ -2,7 +2,7 @@ function Node_Move_Point(_x, _y, _group = noone) : Node_Processor(_x, _y, _group name = "Translate Point"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Point", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [ 0, 0, ]) .setDisplay(VALUE_DISPLAY.vector) diff --git a/scripts/node_path/node_path.gml b/scripts/node_path/node_path.gml index b0f7f15ba..8bc2f6304 100644 --- a/scripts/node_path/node_path.gml +++ b/scripts/node_path/node_path.gml @@ -12,7 +12,7 @@ enum _ANCHOR { function Node_Path(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Path"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Path progress", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 0, "Sample position from path.") .setDisplay(VALUE_DISPLAY.slider); diff --git a/scripts/node_path_anchor/node_path_anchor.gml b/scripts/node_path_anchor/node_path_anchor.gml index ee787d87e..3f15a2f20 100644 --- a/scripts/node_path_anchor/node_path_anchor.gml +++ b/scripts/node_path_anchor/node_path_anchor.gml @@ -1,7 +1,7 @@ function Node_Path_Anchor(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Path Anchor"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Postion", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [ 0, 0 ] ) .setDisplay(VALUE_DISPLAY.vector) diff --git a/scripts/node_path_l_system/node_path_l_system.gml b/scripts/node_path_l_system/node_path_l_system.gml index 25620cc2a..b08e4017a 100644 --- a/scripts/node_path_l_system/node_path_l_system.gml +++ b/scripts/node_path_l_system/node_path_l_system.gml @@ -10,7 +10,7 @@ function L_Turtle(x = 0, y = 0, ang = 90, w = 1, color = c_white) constructor { function Node_Path_L_System(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "L System"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Length", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 8); diff --git a/scripts/node_path_separate_folder/node_path_separate_folder.gml b/scripts/node_path_separate_folder/node_path_separate_folder.gml index faf766126..c5eb362f2 100644 --- a/scripts/node_path_separate_folder/node_path_separate_folder.gml +++ b/scripts/node_path_separate_folder/node_path_separate_folder.gml @@ -1,7 +1,7 @@ function Node_Path_Separate_Folder(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Separate File Path"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Path", self, JUNCTION_CONNECT.input, VALUE_TYPE.path, "") .setVisible(true, true); diff --git a/scripts/node_random/node_random.gml b/scripts/node_random/node_random.gml index e97d350bd..0d0822e73 100644 --- a/scripts/node_random/node_random.gml +++ b/scripts/node_random/node_random.gml @@ -2,7 +2,7 @@ function Node_Random(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) co name = "Random"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("seed", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, irandom(99999)); diff --git a/scripts/node_rigid_override/node_rigid_override.gml b/scripts/node_rigid_override/node_rigid_override.gml index 2d2e7f994..f4553ad43 100644 --- a/scripts/node_rigid_override/node_rigid_override.gml +++ b/scripts/node_rigid_override/node_rigid_override.gml @@ -5,7 +5,7 @@ function Node_Rigid_Override(_x, _y, _group = noone) : Node(_x, _y, _group) cons node_draw_icon = s_node_rigid_override; manual_ungroupable = false; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Object", self, JUNCTION_CONNECT.input, VALUE_TYPE.rigid, noone ) .setVisible(true, true); diff --git a/scripts/node_rigid_variable/node_rigid_variable.gml b/scripts/node_rigid_variable/node_rigid_variable.gml index f8edfcd69..dea7cecd9 100644 --- a/scripts/node_rigid_variable/node_rigid_variable.gml +++ b/scripts/node_rigid_variable/node_rigid_variable.gml @@ -6,7 +6,7 @@ function Node_Rigid_Variable(_x, _y, _group = noone) : Node(_x, _y, _group) cons manual_ungroupable = false; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Object", self, JUNCTION_CONNECT.input, VALUE_TYPE.rigid, noone ) .setVisible(true, true); diff --git a/scripts/node_sampler/node_sampler.gml b/scripts/node_sampler/node_sampler.gml index d65330b18..37c973081 100644 --- a/scripts/node_sampler/node_sampler.gml +++ b/scripts/node_sampler/node_sampler.gml @@ -1,6 +1,6 @@ function Node_Sampler(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Sampler"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Surface in", self, JUNCTION_CONNECT.input, VALUE_TYPE.surface, noone); diff --git a/scripts/node_scatter_points/node_scatter_points.gml b/scripts/node_scatter_points/node_scatter_points.gml index 2462a13fd..044794d1a 100644 --- a/scripts/node_scatter_points/node_scatter_points.gml +++ b/scripts/node_scatter_points/node_scatter_points.gml @@ -2,7 +2,7 @@ function Node_Scatter_Points(_x, _y, _group = noone) : Node(_x, _y, _group) cons name = "Scatter Points"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); onSurfaceSize = function() { return getInputData(7, DEF_SURF); }; inputs[| 0] = nodeValue("Point area", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, DEF_AREA_REF ) diff --git a/scripts/node_statistic/node_statistic.gml b/scripts/node_statistic/node_statistic.gml index 821d1596c..f9630a925 100644 --- a/scripts/node_statistic/node_statistic.gml +++ b/scripts/node_statistic/node_statistic.gml @@ -28,7 +28,7 @@ enum STAT_OPERATOR { function Node_Statistic(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Statistic"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Type", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 0) .setDisplay(VALUE_DISPLAY.enum_scroll, [ "Sum", "Mean", "Median", "Max", "Min" ]) diff --git a/scripts/node_string_get_char/node_string_get_char.gml b/scripts/node_string_get_char/node_string_get_char.gml index ab4447e94..b878f7d63 100644 --- a/scripts/node_string_get_char/node_string_get_char.gml +++ b/scripts/node_string_get_char/node_string_get_char.gml @@ -1,6 +1,6 @@ function Node_String_Get_Char(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Get Character"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_string_join/node_string_join.gml b/scripts/node_string_join/node_string_join.gml index 1022c7f34..93c43c99f 100644 --- a/scripts/node_string_join/node_string_join.gml +++ b/scripts/node_string_join/node_string_join.gml @@ -1,7 +1,7 @@ function Node_String_Join(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Join Text"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text array", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, []) .setVisible(true, true); diff --git a/scripts/node_string_length/node_string_length.gml b/scripts/node_string_length/node_string_length.gml index 33fde03a0..155168b65 100644 --- a/scripts/node_string_length/node_string_length.gml +++ b/scripts/node_string_length/node_string_length.gml @@ -1,7 +1,7 @@ function Node_String_Length(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Text Length"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_string_merge/node_string_merge.gml b/scripts/node_string_merge/node_string_merge.gml index 8abb80145..ca0cb9921 100644 --- a/scripts/node_string_merge/node_string_merge.gml +++ b/scripts/node_string_merge/node_string_merge.gml @@ -1,7 +1,7 @@ function Node_String_Merge(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Combine Text"; - setDimension(96, 80); + setDimension(96, 48); setIsDynamicInput(1); diff --git a/scripts/node_string_regex_match/node_string_regex_match.gml b/scripts/node_string_regex_match/node_string_regex_match.gml index b07e68cfb..24393b227 100644 --- a/scripts/node_string_regex_match/node_string_regex_match.gml +++ b/scripts/node_string_regex_match/node_string_regex_match.gml @@ -1,7 +1,7 @@ function Node_String_Regex_Match(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "RegEx Match"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_string_regex_replace/node_string_regex_replace.gml b/scripts/node_string_regex_replace/node_string_regex_replace.gml index d85c818ed..2464aac41 100644 --- a/scripts/node_string_regex_replace/node_string_regex_replace.gml +++ b/scripts/node_string_regex_replace/node_string_regex_replace.gml @@ -1,7 +1,7 @@ function Node_String_Regex_Replace(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "RegEx Replace"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_string_regex_search/node_string_regex_search.gml b/scripts/node_string_regex_search/node_string_regex_search.gml index 7b963d364..10f58b6ae 100644 --- a/scripts/node_string_regex_search/node_string_regex_search.gml +++ b/scripts/node_string_regex_search/node_string_regex_search.gml @@ -1,7 +1,7 @@ function Node_String_Regex_Search(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "RegEx Search"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_string_split/node_string_split.gml b/scripts/node_string_split/node_string_split.gml index 5a9337e69..b77045a63 100644 --- a/scripts/node_string_split/node_string_split.gml +++ b/scripts/node_string_split/node_string_split.gml @@ -1,6 +1,6 @@ function Node_String_Split(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Split Text"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_string_trim/node_string_trim.gml b/scripts/node_string_trim/node_string_trim.gml index fa2b3f184..ce66b6630 100644 --- a/scripts/node_string_trim/node_string_trim.gml +++ b/scripts/node_string_trim/node_string_trim.gml @@ -1,7 +1,7 @@ function Node_String_Trim(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Trim Text"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") diff --git a/scripts/node_struct/node_struct.gml b/scripts/node_struct/node_struct.gml index 8e3fb1c72..4e9b5c483 100644 --- a/scripts/node_struct/node_struct.gml +++ b/scripts/node_struct/node_struct.gml @@ -1,7 +1,7 @@ function Node_Struct(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Struct"; - setDimension(96, 80); + setDimension(96, 48); outputs[| 0] = nodeValue("Struct", self, JUNCTION_CONNECT.output, VALUE_TYPE.struct, {}); diff --git a/scripts/node_struct_get/node_struct_get.gml b/scripts/node_struct_get/node_struct_get.gml index 895d9ce70..85c3b9560 100644 --- a/scripts/node_struct_get/node_struct_get.gml +++ b/scripts/node_struct_get/node_struct_get.gml @@ -1,7 +1,7 @@ function Node_Struct_Get(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Struct Get"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Struct", self, JUNCTION_CONNECT.input, VALUE_TYPE.struct, {}) .setVisible(true, true); diff --git a/scripts/node_struct_set/node_struct_set.gml b/scripts/node_struct_set/node_struct_set.gml index 23ea6beb8..b958df468 100644 --- a/scripts/node_struct_set/node_struct_set.gml +++ b/scripts/node_struct_set/node_struct_set.gml @@ -1,7 +1,7 @@ function Node_Struct_Set(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Struct Set"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Struct", self, JUNCTION_CONNECT.input, VALUE_TYPE.struct, {}) .setVisible(true, true); diff --git a/scripts/node_surface_data/node_surface_data.gml b/scripts/node_surface_data/node_surface_data.gml index cf41d9e8e..5b6cf3fe2 100644 --- a/scripts/node_surface_data/node_surface_data.gml +++ b/scripts/node_surface_data/node_surface_data.gml @@ -9,7 +9,7 @@ function Node_Surface_data(_x, _y, _group = noone) : Node(_x, _y, _group) constr outputs[| 1] = nodeValue("Array length", self, JUNCTION_CONNECT.output, VALUE_TYPE.integer, 0); - setDimension(96, 80); + setDimension(96, 48); static update = function(frame = CURRENT_FRAME) { var _insurf = getInputData(0); diff --git a/scripts/node_switch/node_switch.gml b/scripts/node_switch/node_switch.gml index 9a124e71a..b89c006cc 100644 --- a/scripts/node_switch/node_switch.gml +++ b/scripts/node_switch/node_switch.gml @@ -1,7 +1,7 @@ function Node_Switch(_x, _y, _group = noone) : Node(_x, _y, _group) constructor { name = "Switch"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Index", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "" ) .setVisible(true, true) diff --git a/scripts/node_timeline_preview/node_timeline_preview.gml b/scripts/node_timeline_preview/node_timeline_preview.gml index 56e312be4..ef4cc7548 100644 --- a/scripts/node_timeline_preview/node_timeline_preview.gml +++ b/scripts/node_timeline_preview/node_timeline_preview.gml @@ -3,7 +3,7 @@ function Node_Timeline_Preview(_x, _y, _group = noone) : Node(_x, _y, _group) co use_cache = CACHE_USE.auto; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); PANEL_ANIMATION.timeline_preview = self; diff --git a/scripts/node_to_number/node_to_number.gml b/scripts/node_to_number/node_to_number.gml index 30b1bba78..469afda09 100644 --- a/scripts/node_to_number/node_to_number.gml +++ b/scripts/node_to_number/node_to_number.gml @@ -2,7 +2,7 @@ function Node_To_Number(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) name = "To Number"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Text", self, JUNCTION_CONNECT.input, VALUE_TYPE.text, "") .setVisible(true, true); diff --git a/scripts/node_to_text/node_to_text.gml b/scripts/node_to_text/node_to_text.gml index 92d5a1df2..714f345ae 100644 --- a/scripts/node_to_text/node_to_text.gml +++ b/scripts/node_to_text/node_to_text.gml @@ -1,7 +1,7 @@ function Node_To_Text(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "To Text"; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Value", self, JUNCTION_CONNECT.input, VALUE_TYPE.any, 0) .setVisible(true, true); diff --git a/scripts/node_transform_array/node_transform_array.gml b/scripts/node_transform_array/node_transform_array.gml index 8fe59f0ba..c21036814 100644 --- a/scripts/node_transform_array/node_transform_array.gml +++ b/scripts/node_transform_array/node_transform_array.gml @@ -2,7 +2,7 @@ function Node_Transform_Array(_x, _y, _group = noone) : Node_Processor(_x, _y, _ name = "Transform Array"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Postion", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [ 0, 0 ] ) .setDisplay(VALUE_DISPLAY.vector) diff --git a/scripts/node_unicode/node_unicode.gml b/scripts/node_unicode/node_unicode.gml index 58c71245c..4bd5fd808 100644 --- a/scripts/node_unicode/node_unicode.gml +++ b/scripts/node_unicode/node_unicode.gml @@ -2,7 +2,7 @@ function Node_Unicode(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) c name = "Unicode"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Unicode", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 64); diff --git a/scripts/node_vector_cross_2D/node_vector_cross_2D.gml b/scripts/node_vector_cross_2D/node_vector_cross_2D.gml index a11ffa3eb..e7c68c84e 100644 --- a/scripts/node_vector_cross_2D/node_vector_cross_2D.gml +++ b/scripts/node_vector_cross_2D/node_vector_cross_2D.gml @@ -2,7 +2,7 @@ function Node_Vector_Cross_2D(_x, _y, _group = noone) : Node_Processor(_x, _y, _ name = "Cross Product 2D"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Point 1", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [ 0, 0 ]) .setDisplay(VALUE_DISPLAY.vector) diff --git a/scripts/node_vector_cross_3D/node_vector_cross_3D.gml b/scripts/node_vector_cross_3D/node_vector_cross_3D.gml index 733729efe..f9ac68c06 100644 --- a/scripts/node_vector_cross_3D/node_vector_cross_3D.gml +++ b/scripts/node_vector_cross_3D/node_vector_cross_3D.gml @@ -2,7 +2,7 @@ function Node_Vector_Cross_3D(_x, _y, _group = noone) : Node_Processor(_x, _y, _ name = "Cross Product 3D"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Point 1", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [ 0, 0, 0 ]) .setDisplay(VALUE_DISPLAY.vector) diff --git a/scripts/node_vector_dot/node_vector_dot.gml b/scripts/node_vector_dot/node_vector_dot.gml index 58f7f10b0..fadb3e386 100644 --- a/scripts/node_vector_dot/node_vector_dot.gml +++ b/scripts/node_vector_dot/node_vector_dot.gml @@ -1,7 +1,7 @@ function Node_Vector_Dot(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor { name = "Dot Product"; color = COLORS.node_blend_number; - setDimension(96, 80); + setDimension(96, 48); inputs[| 0] = nodeValue("Point 1", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [ 0, 0 ]) .setDisplay(VALUE_DISPLAY.vector)