I have 6 sprites.
And 4 different objects.
I want to spawn a random object in a random location (sprites are locations to spawn)
Can you help me?
Develop games in your browser. Powerful, performant & highly capable.
This is how to do just that.
Spawn 4 random objects from 6 fixed locations randomly
Spawn 4 random objects from 6 random locations randomly