Description

Easily chain accessors in a visual way with two functions.

ds_get_s: Use a string to traverse data structures, spaces separating values, formatted as such:

value = ds_get_s(map, "?list |0 #5,5 ?testKey @4");

ds_get: More efficient function, uses a accessor,parameter sequence of arguments.

value = ds_get(map, "?", "list", "|", 0, "#", 5, 5, "?", "testKey", "@", 4);

To make this function even faster, the string accessors can be replaced with the ds_type_* constants where appropriate

More Assets:

End User Licence Agreement (EULA).

Version 1.0.0. Published December 4, 2016

Created with GameMaker: Studio v1.99.505

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 06 December 2016

going to add it in every project i have now :D


Gravatar

Victor B 19 January 2017

Sorry

but it's a plagiarism of my Asset
https://marketplace.yoyogames.com/assets/4732/concatenated-accessors

Logo

Taylor Dale (Publisher) 06 December 2016

Sorry - Providing useful features that are common in many other languages and essential to utilizing data structures in GM is not plagiarism. The idea of accessing embedded data structures is not original at all. Best of luck selling your asset and feel free to do a performance test between the two :)

Package contents

Total size 3.47 KB

What is the issue?

Back to Top