List Utils (Sorter, Duplicate Remover, and 2D Arrays)

Dom818

  • *
  • Posts: 1296
List Utils

This extension adds blocks to Stencyl that extend the functionality of lists.

Documentation for all the blocks can be found at this link: http://effectapps.com/stencyl/listutils.html

I will most likely be adding more blocks to the 2D list part as I see necessary. If you have any questions or want a block, let me know.

Changelog:
1.2.1
-Updated help website
1.2
-2D Arrays added
1.1
-Remove duplicates added
1.0
-Initial Release

« Last Edit: March 02, 2014, 10:07:33 pm by Dom818 »

1MrPaul1

  • *
  • Posts: 1113
Very compact block with giant possibilities!
Great job!

Dom818

  • *
  • Posts: 1296
Very compact block with giant possibilities!
Great job!

Thanks!!!

mbuist

  • Posts: 252
nice... did you share this on force aswell
Visit my arcade site - http://www.tincubegames.com/
Read all about my games at - http://www.tincubemedia.nl
Please follow Tincube Media on Facebook - http://www.facebook.com/tincubemedia

As a final touch.. GOD created the Dutch

Dom818

  • *
  • Posts: 1296
nice... did you share this on force aswell

I'm going to guess you meant forge. I probably could share this on StencylForge but it seems just as easy to distribute with an extension.

mbuist

  • Posts: 252
Would be nice if there is an option to delete duplicates from a list
Visit my arcade site - http://www.tincubegames.com/
Read all about my games at - http://www.tincubemedia.nl
Please follow Tincube Media on Facebook - http://www.facebook.com/tincubemedia

As a final touch.. GOD created the Dutch

Dom818

  • *
  • Posts: 1296
Would be nice if there is an option to delete duplicates from a list

Good idea! I'll make a new block later which does that.

mbuist

  • Posts: 252
That would be nice. I can use it right away in my current game I'm working on.

I need to check a list for duplicats every 0.5 seconds and delete a duplcicate
Visit my arcade site - http://www.tincubegames.com/
Read all about my games at - http://www.tincubemedia.nl
Please follow Tincube Media on Facebook - http://www.facebook.com/tincubemedia

As a final touch.. GOD created the Dutch

Dom818

  • *
  • Posts: 1296
Just added a remove duplicates block. You can download the new update from the first post.

mbuist

  • Posts: 252
Looks good. but I think you use the wronk kind of block. Shouldn't it be the same as sort list. wich you can attached to other blocks

see screenshot.

Or Am I using it wrong
Visit my arcade site - http://www.tincubegames.com/
Read all about my games at - http://www.tincubemedia.nl
Please follow Tincube Media on Facebook - http://www.facebook.com/tincubemedia

As a final touch.. GOD created the Dutch

Dom818

  • *
  • Posts: 1296
For whatever reason, I couldn't get that kind of block to work. It refused to set the array after the duplicates were removed. I thought I did everything correctly. If somebody knows how to make it work as an action block, I am open for a fix. For now, use the set list block with the remove duplicates block.

mbuist

  • Posts: 252
no worries,

using it in this game
http://www.stencyl.com/game/play/21206

Works like a charm.
Visit my arcade site - http://www.tincubegames.com/
Read all about my games at - http://www.tincubemedia.nl
Please follow Tincube Media on Facebook - http://www.facebook.com/tincubemedia

As a final touch.. GOD created the Dutch

Dom818

  • *
  • Posts: 1296
no worries,

using it in this game
http://www.stencyl.com/game/play/21206

Works like a charm.

Glad it works for you. Nice game by the way!

1MrPaul1

  • *
  • Posts: 1113
This is extension not working with OpenFL version of Stencyl, can you update it?

mlnaficy

  • Posts: 444
I just searched out this thread because I was also using the extension, but the blocks are gone now that I've switched to OpenFL.  Glad for the heads up that it doesn't work.  An update would be GREATLY appreciated!!  Thanks.