CE List Utils
List utility scripts
Example
/// @func times_2(v)
return argument0 * 2;
/// @func greater_than_4(v)
return argument0 > 4;
/// Test
var _values = ce_ds_list_create_range(1, 4); // => 1, 2, 3, 4
var _mapped = ce_ds_list_map(_values, times_2); // => 2, 4, 6, 8
var _filtered = ce_ds_list_filter(_mapped, greater_than_4); // => 6, 8
Installation
Using Catalyst, the open-source package manager for GameMaker Studio 2:
catalyst require slagtand-org/ce-list-utils
Related
This library is a part of project CE. For more information, please visit the project's repository: https://github.com/slagtand-org/ce