GameMaker (2.3)
Icon

Array Functions

SamSpadeGameDev

You must be logged in to obtain assets

Description

Overview:

UPDATED TO 2.3.1

See the README for changes in 2.3.1 and 2.3. In general these changes are due to additional official GM array functions being added (such as array_delete, array_insert, array_push, etc.) or GM functions being modified (such as array_copy and array_equals now working on deeply nested arrays) or changes to GM functionality in general (such as the ability to pass in anonymous functions and callback functions in general). Functions have been removed or modified to reflect these changes.

This asset contains a number of functions to extend the usefulness of arrays. The functions are:

  • array_valid_index
  • array_swap_indexes
  • array_copy_simple
  • array_add_to_end
  • array_join
  • array_flatten
  • array_find_index
  • array_find_index_custom
  • array_find_index_last
  • array_find_index_last_custom
  • array_find_index_all
  • array_find_index_all_custom
  • array_every
  • array_some
  • array_shuffle
  • array_filter
  • array_reduce
  • array_reverse
  • array_for_each
  • array_for_each_copy

Please contact my support email with any questions or concerns. This is a free asset. I do not promise that I will add features or respond to questions, but I might. Please make requests to the support email or directly through github or through the asset page on the forums. If a script you like is missing from the most recent version, or you would like to see older versions, checkout the github page.

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS2 - Version 1.0.0. Published November 16, 2019

GMS2.3 - Version 1.0.3. Published November 23, 2020

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait