I want to create an object at a random moment. This moment should not be shorter than 1 second and longer than 5 seconds. How can i do it?
Hi, you can use system > every random(1,5) seconds, and then action is create object
If you need only one object -
On start of layout : Wait random(1,5) seconds, Create object
If you need to spawn every 1-5 seconds -
Every random(1,5) seconds: Create object
Thanks. I will do. I have one more question. 2 objects must be randomly created by the same object. how can I do it?
Develop games in your browser. Powerful, performant & highly capable.
On the object spawning the other objects you can set a variable to a random number in a range based on number of possible object. Then depending on value you have conditions to spawn an object.