Content tagged random-number

Report Tag

4 usages of this tag
  • 16 replies
  • 1.3K views
This content is deleted
Forum Topic
Need help in very complicated random
0 favourites

I have a Sprite "Dino" and copied 3 times in layout. "Dino" has instance variable "Color". I have another Sprite "Choose" and copied 10 times. Now I want to set...

posted 5 years ago
  • 5 replies
  • 1.3K views
This content is deleted
Forum Topic
Generating a random number with scripting
0 favourites

How do I generate a random whole number via scripting? I tried using math.RandomInt(100), math.Random(100) and more. But it keeps telling me that math or random...

  • 2 replies
  • 711 views
This content is deleted
Forum Topic
How do I find more 50/50 chances? (some examples shown)
0 favourites

I wanted to run a function 50% of the time, so I was able to do this: Tickcount % 2 = 0. I was also able to use: Unixtime % 2 = 0. Are there other things that I...

  • 4 replies
  • 1.2K views
0 favourites

I'm trying to generate random numbers that don't repeat, after some searches I found a tutorial that taught this, but in the video it uses Construct 2. I tried...