GameMaker Studio 2 (2.3)
Icon

MaxLos' Script Pack 1

MaxLos

You must be logged in to obtain assets

Description

A collection of 25 useful scripts:

• draw_array - Draws the name and the values held at each position of an 1 or 2d array. Should be used for debugging purposes only.

• draw_ds_grid - Draws the values held at each cell in a ds grid. Should be used for debugging purposes only.

• draw_ds_list - Draws the values held at each position in a ds list. Should be used for debugging purposes only.

• draw_gamepad_slots - Draws the status of all slots available for a gamepad, as well as whether or not one is connected to that slot.

• draw_sprite_cropped - Draws a sprite that will be cropped if it exceeds the given x/y coordinates.

• draw_variables - Draws the name and values of an instance's variable(s) of your choice.

• draw_keys_held - Draws all the keys that are currently being held down and registered by the computer. Should be used for debugging purposes only.

• ds_grid_add_to_end - Allows you to add multiple values to the end of an ds grid

• ds_grid_destroy_all - Destroys all instance-scope ds grids contained in an instance.

• ds_list_destroy_all - Destroys all instance-scope ds lists contained in an instance.

• ds_list_swap_values - Swaps the values found at two different positions in one or two different ds lists.

• ds_list_transform_1d_array - Transforms a ds list into a 1d array.

• ds_list_destroy_all - Destroys all instance-scope ds lists contained in an instance.

• ds_map_destroy_all - Destroys all instance-scope ds maps contained in an instance.

• is_prime - Returns whether or not a number is a prime number.

• is_whole - Returns whether or not a number is a whole/integer number.

• value_closest - Returns the value that is closest to a chosen number, from a list of numbers of your choice.

• value_round_multiple - Rounds a number to the nearest multiple of your choice. (You can choose to round up, down, or use bankers rounding)

• value_within_range - Returns whether or not two values are within a given range of your choice to each other.

• value_wrap - Wraps a value around if they exceed or go below two given margins.

• var_swap - Swaps the values of two different variables. The variables can be from 1 or two different instances.

• string_chars_from - Returns all characters at and from two different positions in a string.

• string_cut - Returns a string with all characters at a given position removed from another string.

• surface_clear - Clears a surface.

• make_draggable - Makes the instance calling the script draggable with the mouse.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 1.2.8. Published May 31, 2021

Updates to 'draw_ds_map'.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait