How Do I replace the sprite in randomly?
N.B. Sprite is a 'coin' in a game runner (auto-runner). A simple copy/past not enough.
Replace means spawn a random sprite? Then use a family for the sprites that are allowed to spawn there and then just a normal system create object your family.
Random Sprite... If I pin the sprite 'collectible' (COIN) and 'destroy', after doesn't work the random same collectible.
However, for sprite I need to enter the 'platform+pin' because the 'player' doesn't take the 'coin'.
Than I would to create something as 'Line Runner 2', game very easy!
Develop games in your browser. Powerful, performant & highly capable.
It's not easy to understand what you are asking.
Replace usually means there is something and you want to take away that something and put something else in it's place.
Also what do you mean by the "doesn't work the random same collectible"?
What do you want to happen when you destroy the coin and what happens now?