Description

[ OTHER FEATURED ASSET: CHECK TWEENLINE ANIMATION ENGINE (+90 sales) ]

Create amazing animation sequences with a few lines of code:

https://marketplace.yoyogames.com/assets/2909/tweenline-animation-engine

[ WHAT IS AN ITERATOR? ]

An iterator is a special type of data that can iterate over any type of data that is iterable, such as lists, arrays, maps, files, numeric ranges, etc.

After you create the iterator, you can easily use a while loop to loop through all the values without worrying about what kind of data or the way in which you need to access to those values.

[ DEMOS ]

Check the examples in the images to see what are iterators about. Or check the demo inside the extension files.

[ NOTE ]

Yes, there are already other extensions in the Marketplace for iterators, but I have recreated my own iterators engine from scratch and published for free, so anyone can enjoy using iterators in GM!

[ WANT TO SAY THANKS? ]

If you like this extension, consider buying other extensions made by me, like "Tweenline Animation Engine" https://marketplace.yoyogames.com/assets/2909/tweenline-animation-engine

More info

End User Licence Agreement (EULA).

Changes in 1.1.0

[ BIG UPDATE ]

  • Added it_prev(it), it_end(it), it_revloop(it), it_end(it), to navigate througth the iterator.
  • Added it_update(it) that let you save the changes made to the iterators values.
  • One new iterator: it_priority(prio);
  • Added 5 more examples
  • More documentation. Getting started guide.
  • Added mini tutorial for creating custom iterators (check it_create() documentation)

Version 1.1.0. Published October 7, 2016

Created with GameMaker: Studio v1.4.1757

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Felix B 30 September 2016

Works, but doesnt allow the modification of data

When i iterate through data, i like to insert or remove data. otherwise a for loop works just as well.
unfortunately this asset simply operates over a copy of your data, meaning it is useless if you want to manipulate data, such as removing elements greater than an amount, or else, like with https://github.com/GMWolf/GMIterator (not meant as a plug, just to show what iterator modifications are like. sorry).

still has some usefull scripts to make use off, such as iterating over instances, files and maps.

This review was left for a previous version of this asset.

Logo

Ciberman (Publisher) 07 October 2016

Hi. I have saw GMIterator before design iterators_gm, but I don't want to add the ability to REMOVE and ADD elements for now because I want to keep this as a simple extension. I have updated the extension with it_update(it) that let you copy all the changes made to the iterator to the original data structure.

- Added it_prev(it), it_end(it), it_revloop(it), it_end(it), to navigate through the iterator.
- Added it_update(it) that let you save the changes made to the iterators values.
- One new iterator: it_priority(prio);
- Added 5 more examples
- More documentation. Getting started guide.
- Added mini tutorial for creating custom iterators (check it_create() documentation)

Please update your review to reflect the current status. My next objective is to add it_remove(it); to remove an element.


Gravatar

Francisco B 24 September 2016

All my base belongs to you

Hands down, the best utility to manipulate and iterate through any kind of lists (and data structures, if you're sly enough).

Easy to use, well documented, clear and robust.

100% recommended!

This review was left for a previous version of this asset.

Logo

Ciberman (Publisher) 24 September 2016

Thanks Francisco. Glad that this package helps you.

Package contents

Total size 826 KB

What is the issue?

Back to Top