Hi Guys,
I have this issue with the "random" expression. So I have some bombs and powerups spawning at the top of the screen and moving down (as if the player is moving and the mines are static).
In my event sheet I have:
"Every Random(35, 70) seconds ---
Time > 60 seconds --- Create powerupONE"
and then in the separate condition
"Every Random(35, 70) seconds ---
Time > 75 seconds --- Create powerupTWO"
How I understand it, it should work in the following way:
Once the time is more than 75, let's say 100, and once the condition gets checked, the engine chooses a random number between 35 and 70, let's say 41. So after 41 seconds it will create powerupONE, then it checks the next condition, Chooses a random number between 35 and 70, lets say 63, and creates powerupTWO in 63 seconds.
What in reality happens is that these two powerups show up very very close to each other, as if the random doesn't really random so well. Like I have an impression that once the first condition picks a number, the second one picks a number by +3/-3 seconds, no more. Like they're randoming almost the same number because the powerups show up almost on the same level, when in theory, there is a whole 35 seconds space to choose from, the engine seems to choose almost the same number most of the time..
At first I thought i'm tripping but I'm not.
Does anyone have an idea how exactly does construct 2 random? Or what can be the problem here?
Thanks in advance