I am making bomber man how do i make a timer that goes off randomly
You can make a random timer by connecting a random number generator to the “delay” input of a timer. The timer delay is set in tenths of a second, so a delay of “10” will trigger in one second, and a delay of “50” will trigger in 5 seconds.
You can connect the output of the timer to the “new” input of a random number generator, then connect the random number output to the “delay” input of the timer. Now each time the timer triggers, it will set the delay to a new random value.
Here’s an example: http://flowlab.io/game/view/435641
I have the random min set to 10 and max set to 50, so the timer will trigger randomly between 1 and 5 seconds apart.
Hope this helps
Yes thank you