GameMaker Studio 2 (2.3)
Icon

MaxLos' Script Pack 3

MaxLos

You must be logged in to obtain assets

Description

A collection of an additional 25 handy scripts:

• array_1d_count_value - Returns how many times a specific value occurs in an 1d array. You choose which positions in the array should be searched through.

• array_1d_find_value - Returns the position a specific value is located at in an 1d array

• array_1d_max - Finds the largest value in an 1d array, then returns either the position the value was found at or the value itself (your choice).

• array_1d_min - Finds the smallest value in an 1d array, then returns either the position the value was found at or the value itself (your choice).

• array_1d_mean - Returns the mean (average) of values in an 1d array. (You choose which values are included in the mean)

• array_1d_median - Returns the middle value in an 1d array. You can choose which positions and their values should be included.

• array_1d_randomize - Fills an 1d array with random values of your choice. You choose which positions get filled, and you have the option of setting it so no position can have the same value as another filled position.

• array_1d_shuffle - Shuffles an 1d array. You choose which positions should be shuffled.

• array_1d_sum - Returns the sum of values inside an 1d array. You choose which positions and their values should be included in the sum.

• array_2d_count_value - Returns how many times a specific value occurs in an 2d array. You choose which positions in the array should be searched through.

• array_2d_find_value - Searches for a specific value in an 2d array, then, if found, can return the x position the value was found at, the y position the value was found at, or the value itself (your choice).

• array_2d_max - Finds the largest value in an 2d array, then can return the x position the value was found at, the y position the value was found at, or the value itself (your choice).

• array_2d_min - Finds the smallest value in an 2d array, then can return the x position the value was found at, the y position the value was found at, or the value itself (your choice).

• array_2d_randomize - Fills an 2d array with random values of your choice. You choose which positions in the array should be filled.

• array_2d_replace_specifc_values - Searches through a 2d array for a specific value, then replaces those value(s) with another value of your choice. You choose what positions are searched through, and have the option to set the maximum number of times the found value can be replaced.

• array_2d_shuffle - Shuffles the positions of values in an 2d array. You choose which positions should be shuffled.

• array_2d_sort - Sorts the values in an 2d array in ascending/descending numerical/alphabetical order (your choice).

• array_2d_sum - Returns the sum of values in an 2d array. You choose which positions and their values should be included in the sum.

• array_2d_swap_values - Swaps the values located at two different positions in an 2d array.

• ds_grid_set_all - Sets the values located at all cells in a ds grid to be set to a value of your choice.

• ds_grid_shuffle_region - Shuffles the values within a defined region of a ds grid.

• ds_grid_sort_region - Sorts the values within a defined region in ascending/descending numerical/alphabetical order

• ds_grid_swap_values - Swaps the values located at two different cells within one or two ds grids.

• ds_list_delete_values - Deletes all occurrences of a specific value in a ds list.

• ds_list_random - Returns a random position or value contained in a ds list (your choice). You choose which positions in the list can be picked from.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 1.0.4. Published May 26, 2021

Updates to 'array_1d_median'

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait