Hello everyone, I have created a game in which if you touch a specific object you gain a point and after that the position of every other object(Same Sprite) changes.
I have put the event such that if you touch the object set the position of the object randomly. But only the position of the object from which you gain point changes.
Can anyone tell me what to do, so that every object position is set randomly.
In "On object touched" event you can only address one instance of this object (the one that was touched).
If you need to control other instances, add "System Pick all Object" sub-event.
On touched Object -> Add 1 to score
System Pick All Object -> Object set position to (random(1000), random(1000))
Develop games in your browser. Powerful, performant & highly capable.
Thank you dop2000