How to scramble array values???

Get help using Construct 2

Post » Thu Jan 12, 2017 12:08 pm

Hey guys, I have a few questions about arrays.
I finally figured out how to use the .CurX thing but now I want to SCRAMBLE the values within the 100x1x1 Array.
Maybe you could also create the array to begin with to contain 1-100 such that NO VALUES ARE THE SAME.

Here's what I've done so far. I'd really appreciate if someone could edit the capx. : (
Thank you, guys!

http://s000.tinyupload.com/?file_id=684 ... 1934327323
"The intent is to provide subscribers with a sense of pride and accomplishment for unlocking different features...."
B
42
S
18
G
32
Posts: 818
Reputation: 20,779

Post » Thu Jan 12, 2017 1:05 pm

https://drive.google.com/open?id=0Bwizs ... 2FXaGlNbWc

Here you go!

For those of you who don't want to download the capx for the solve:

Image
<iframe frameborder="0" src="https://itch.io/embed/146124?linkback=true&dark=true" width="552" height="167"></iframe>
B
26
S
7
Posts: 254
Reputation: 2,389

Post » Thu Jan 12, 2017 1:07 pm

This is admittedly simple, and broad, and you will want to adjust the 'Array.Width*2' factor. To improve on this, see if you can force it to only select items that haven't been sorted yet!
<iframe frameborder="0" src="https://itch.io/embed/146124?linkback=true&dark=true" width="552" height="167"></iframe>
B
26
S
7
Posts: 254
Reputation: 2,389

Post » Thu Jan 12, 2017 1:22 pm

Will check it out when I get home. Thank you.
"The intent is to provide subscribers with a sense of pride and accomplishment for unlocking different features...."
B
42
S
18
G
32
Posts: 818
Reputation: 20,779

Post » Thu Jan 12, 2017 1:47 pm

ImageImageImage
B
72
S
22
G
288
Posts: 3,862
Reputation: 158,460

Post » Sat Jan 14, 2017 8:00 am

Will try that one too thanks. :D
"The intent is to provide subscribers with a sense of pride and accomplishment for unlocking different features...."
B
42
S
18
G
32
Posts: 818
Reputation: 20,779


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests