loopindex("x")*32, loopindex("y")*32
Name:"x"
Start:0
End:width-1
Make sure .NET 4.0 is installed.
Develop games in your browser. Powerful, performant & highly capable.
People are constantly fighting to get a simple non-repeating random integer from within a range. This plugin solves that. Although I've recommended the RandomArray plugins myself, they do not deal with how the cycle repeats after you use up all of the numbers in the range. This plugin deals with that issue also.
You pick a start value, an end value (inclusive), and a threshold for how many values on the next cycle should not repeat from the end of the current cycle. This maximizes the randomness of a repeating sequence, if needed.
BHT Smart Random
Demo
Documentation
v1.1 (C3 and C2 runtime)
Generally called a "trail" if I understand correctly. There are examples on the forum.
You can answer your own question by using the Browser to log each iteration:
Hit F12 in the browser and you can see exactly what the pattern is.
You really need to investigate the rules for your country, and if the contest is international, you also have to look at the rules for every country and possibly state therein. Just for example, here is an article on US contests. The age issue is mentioned. http://adage.com/article/guest-columnis ... al/149206/
If A and B are the same object, it will be the first. If A and B are different, you'd need to do it twice to pick the first A and the first B. It all depends on how many As overlap how many Bs, and if they are the same.
It picks the first instance (computers start counting at 0, so it may seem odd, but the 0th instance is the first).
https://www.scirra.com/manual/124/system-conditions
Change tickcount=0 to "on start of layout" to fix the Restart issue.
Trigger once won't affect the Picking. Just use "Pick nth instance" with '0'.
Try every 1 second, as a start.
Member since 28 May, 2012