Using this in BUAS v3.5 Tutorial inside. Plus below... But inside the project is better Tutorial: This is kind of like a recursive rule, where the X changes for each clone count. The X Position starts at 0, and x placement is at 0. Since the clones go to this block's amount, I made a variable called "n." n is set to 0 at the start. So n times 1 will start out as 0 because 0x1=0. And x placement + n * 1 will be 0... look at it like 0+(0x1). Each time a clone is created in the repeat loop, n changes by 10. So 0 (x placement) + 10 (n) x 1 = 10. That is where the next digit will be. Each place value goes up in an increment of 10. 0+10x2= 20. And so on... This is interchangeable and can be edited. Example: If you want more space in between numbers- Change n by 20 or so. This will result in 0+20x1 and 20 pixels will be in between the digits. You can also change the place the first digit starts. Example: If you would like the number (all digits) to be all the way to the left, you could set x placement to -100... so digit 1 would be -100+n*1.n*1 would be 0, so digit 1 would be at -100X. And the next digit (-100+[n{10}*1]) is -90. -100+(positive)10(n*1)=90. And so on. -100+20(x placement + n*1)= 80. So the digits do not change, just the starting position of the first digit. You can also change the Y position if you want (in the "go to" block).
me. 100% me BONUS TUTORIAL: You might be wondering how that [When I start as a clone] script works... Well, it's like this: I made a variable called "count." It starts at 0. In the repeat loop, a clone is created first, then count changes by 1. When a clone is created, it checks the digit place, which is a variable, which was changed BEFORE count changes. Let's think of "count" as a clone id variable, often used in intros and outros. Actually, that's exactly what it is. So it checks to see if the digit place value (digit place) is equal to the clone count (count). The digit place starts at 1 for ones, 2 for tens, 3 for hundreds, and so on. So when the digit place value changes by 1, the clone count changes by one, giving us the next place value in line. The [switch costume] detects the COUNT, or in this case the place value, and it switches the costume to the count of the number. Basically, the digit place variable detects the digit place value, and the count detects the clone next in line. If the digit place changes by 1, so does the clone count. The [When I start as clone] script starts off by checking to make sure the digit place equals the clone count, so we know that the clone count must be the digit placement as well. The (letter (count) of (number)) block checks the count variable (the digit place) and switches it's costume to the corresponding digit in that place value. It checks the count (digit place) OF the number, as the "letter" of the number. So we can detect the randomly generated number's place value and digits.