+ 1
How to move an object in one lane (from left to right) AT DIFFERENT TIME INTERVAL ?
for example, I have an object (picture or figure) and I would like to move it now, another one after 5 seconds, another one after 3 seconds ... and as a result, several identical objects will move in the same lane it would be ideal to realize the time interval using random but how to do it all? Or maybe you know some examples Thank you!
4 Antworten
+ 4
https://code.sololearn.com/WXOgmVtj7v26/?ref=app
** please wear face mask 😷 and wash hands offen💦
+ 2
Calviղ thank you very much!
+ 1
setinterval() function of js can help you with this.
Try it if you got any type of error we will help you.
0
Yes, I use it. I can do it with one object on one line.
But how wise to apply it to several identical objects on the one line?