PlayMaker Feedback > Action Requests

Array Maker - Shuffle Range Action

(1/1)

Groo Gadgets:
Hello,

Firstly I must say that I just love Array Maker, I simply could not create my latest game project without it!

Now, i'm using the "Array List Shuffle" action to randomize items of my array which works great. Although I would love to have an action that lets me shuffles a specific range within an array.

For example; if I have an array containing 20 items, I would like to be able to shuffle the first 5 items, leaving the rest of the items in their original order.

I can currently do this in a very convoluted way (I create a new array, fill it with the first five items of the original array, shuffle the new array then replace the first five items of the original array with the new shuffled array).

It would be far easier if someone (*cough* Jean *cough*) could create one single action to remove the need of a convoluted loop of states  :-)

Thanks!

Simon

jeanfabre:
Hi,

 Thanks :) I am glad you find arrayMaker useful! If you have any other comments or things that you would like improved etc, don't hesitate.

Allow me few days, and I'll update that action so that you can define a range for the shuffling. Don't hesitate to come back to me if next week you haven't heard anything back ok?

 bye,

 Jean

Groo Gadgets:
Wow now that's what I call service!

You are an absolute credit to the Play Maker community Jean! Thank you so very much!

Simon

jeanfabre:
Hi,

 Here we go:
http://hutonggames.com/playmakerforum/index.php?action=dlattach;topic=835.0;attach=1042

Sorry for the delay, slowly getting back up to speed with all the pending stuff...

bye,

 Jean

Navigation

[0] Message Index

Go to full version