hallo! I have a question about how events work.
On start of layout: Repeat 10 times: > wait 0.1 seconds > create sprite
With this code I expected I would see this:
Wait 0.1 second.
Create sprite.
(8 more after this)
But what happened was:
0.1 second delay and all 10 sprites were created at the same time.
So my conclusion is that the "wait"-action is seperated from the actions and from loops? Am I correct?
Or to ask it in a different way: why did I not see my expected result?
Develop games in your browser. Powerful, performant & highly capable.
Wait doesn't stop loops. To achieve what you want here try every 0.1 seconds.
Or change the wait duration to 'loopindex'/10 seconds.
Thank you lion and bird bee <3
kind regards, baby cow
Wait delays actions, it does not delay events.