I'm trying to get my head round the best approach (that doesn't involve creating a grid of spawners etc).
I'd like to create a grid, for instance a checkerboard... made up of random different color sprites (squares for now for ease).
So Yellow, black, red, blue, green, orange sprites etc. etc.
However I need to make sure that the array always includes at least 3 of a specific color sprite such as red.
I would randomise the grid of sprites each time.
Any advice to automate this please? I'm thinking it's an array, but can't get my head around it currently.
Thanks for any help