Releases: adam-rumpf/game-maker-scripts
Local Asset Package, 4/8/21
4/8/21 -- Adding a large number of mathematical and general utility scripts and objects (see change log below for details).
To import these scripts into your GameMaker Studio 2 project, download the local asset package file gms2_math_scripts.yymps
and place it somewhere where you will be able to find it again. Open your GMS2 project, navigate to Tools > Import Local Package
, and select your local copy of gms2_math_scripts.yymps
(alternatively, drag and drop the file into GMS2). This will open a window that allows you to select any and all scripts to import.
Change log:
- Renamed "Analysis" functions to "Number Theory" functions.
- New Graph Theory object and function section, including objects for storing graphs and their attributes, and equipped with methods for performing tasks like exporting the graph's adjacency matrix and finding shortest paths.
- New File Handling functions section, including gathering lists of sections and keys in an INI file.
- New Cellular Automata function section, including functions for generating and interpreting Wolfram codes and evaluating elementary CA models.
- New Number Theory functions:
- General number theory:
_factorial
,_k_tuples
- Number base conversion:
_base_to_decimal
,_decimal_to_base
- Generalized rounding:
_ceil
,_floor
,_frac
,_round
- New and updated pairing:
_integer_pair_to_natural
,_natural_to_integer_pair
,_natural_to_natural_pair
,_natural_pair_to_natural
- General number theory:
- New Array function:
_array_reverse
- New Computational Mathematics function:
_smooth_step
- New Linear Algebra function:
_matrix_trace
- New Random function:
_random_round
- Minor edits to script JSDoc style.
Local Asset Package, 1/1/21
1/1/21 -- Minor script edits, plus a couple of extra utility scripts. Updating license year.
To import these scripts into your GameMaker Studio 2 project, download the local asset package file gms2_math_scripts.yymps
and place it somewhere where you will be able to find it again. Open your GMS2 project, navigate to Tools > Import Local Package
, and select your local copy of gms2_math_scripts.yymps
(alternatively, drag and drop the file into GMS2). This will open a window that allows you to select any and all scripts to import.