Hey, noob question here... I have 25 sprites (all the same object) with the physics behavior, I have set a "every (random) seconds" a force to be applied to them, and all of them are moving (from the force applied) at the same time...
How can make I make the action apply to each sprite separately without having to set an instant variable to each one of them and repeat the action for each instance ?
So these objects would move at different random times, not synchronized... Hope you got what I mean.
Use Timer behavior instead of "every x seconds". On start of the layout or when these objects are created, start a timer for random(min,max) seconds. And apply force in "On timer" event.
Develop games in your browser. Powerful, performant & highly capable.
Oh boy, I have never used this behavior before, haha
thanks a lot dop2000